[Overview][Types][Classes][Variables][Index] |
The size of the margin at the right edge of the canvas.
Source position: printers.pas line 132
public property TPrinterCanvas.RightMargin : Integer |
RightMargin is an Integer property which contains the size for the area between the edge of the paper and the right edge of the content on the page. Margin values are expressed as the number of "Dots" for the native printer resolution (XDPI). To achieve a .5in margin on a 300DPI laser printer, use the value 150.
The value for the property is normally provided by the Printer using the canvas to render document pages. When the property contains 0 (zero) and the Printer is assigned, its PaperRect property is examined to get the Left of the printable area for the paper size. Otherwise, the existing value in the property is used.
Changes to the property value are not applied to the Printer device.
Use LeftMargin for the unused area at the left edge of the canvas. Values in LeftMargin, RightMargin, and PaperWidth are used to calculate the PageWidth for the printer canvas.
|
Device which uses the canvas to print a document. |
|
|
The size of the margin at the left edge of the canvas. |
|
|
Horizontal size for the paper selected in the print device. |
|
|
Size of the printable area for the page on the horizontal axis. |
|
|
DPI (Dots per Inch) in the horizontal direction for the print device. |
|
|
Number of DPI (Dots per Inch) on the horizontal axis for the selected device. |
|
|
Holds the physical and working dimensions for a paper size. |
Version 4.0 | Generated 2025-05-03 | Home |