|
THotPDF.Resolution
|
Top Previous Next |
|
Indicates the PDF file Resolution value
Delphi syntax: property Resolution: Integer;
C++ syntax: __property int Resolution;
Description Use the Resolution property to determine Resolution value of the PDF file Drawing coordinates, margins, font sizes and the results of TextWidth and TextHeight are in 1/Resolution inch, so at 144 a value of 144 means one inch. THPDFPage.Width and THPDFPage.Height stay in points; turn to THPDFPage.UserWidth and THPDFPage.UserHeight for the page size in drawing units. A page sized by assigning Width and Height draws in points whatever the Resolution A handful of values are not drawing units. Line dash lengths, character and word spacing, leading and text rise are in points, like the PDF operators that take them. Translate, Concat, SetTextMatrix and ShowImageMatrix take PDF user space values, in points with the origin at the lower left. The page Canvas and DrawBarcode work in the screen pixels of the page canvas, which cover the page identically at any Resolution. Default argument and property values, such as DrawQRCode's module size or a table's default font size, are drawing units like everything else
Default value = 72;
|