Report from code - Delphi 10.2
Good morning!
I'm trying to generate a report from code (Pascal), I have the following page setup.
So far so good, but when I add a MemoView its widht is larger than the page, how is that possible?
Are they different measures?
Example:
I'm trying to generate a report from code (Pascal), I have the following page setup.
    {CONFIGURATION OF LABEL - SIZE}
    PaperHeight := 30; Â
    PaperWidht := 40; Â
    {CONFIGURATION OF LABEL - MARGIN}
    MarginLeft := 2; {2 = 0,2 | 2.5 = 0,25}
    MarginRight := 2; {2 = 0,2 | 2.5 = 0,25}
    MarginBottom := 2; {2 = 0,2 | 2.5 = 0,25}
    MarginTop := 2; {2 = 0,2 | 2.5 = 0,25}
So far so good, but when I add a MemoView its widht is larger than the page, how is that possible?
Are they different measures?
Example:
PaperWidth = 40.000000000000000000
PaperHeight = 30.000000000000000000
MemoWidth = 136.062992125984300000
MemoHeight = 18.897650000000000000
Comments
fr01cm = 3.77953;
fr1cm = 37.7953;
fr01in = 9.6;
fr1in = 96;
For example, a band???s height equal to 5 mm can be set as follows:
Band.Height := fr01cm * 5;
Band.Height := fr1cm * 0.5;
Paper's height and width are set in mms
Thanks!
Solved!