<< Click to display table of contents >> TSRichViewEdit.RightMarginPix, RightMargin100PixTSRichViewEdit.GetRightMarginPix, GetRightMargin100Pix |
Returns the right margin, in pixels.
property RightMarginPix: Integer;
property RightMargin100Pix: Integer;
function GetRightMarginPix(PageNo : Integer) : Integer;
function GetRightMargin100Pix(PageNo : Integer) : Integer
The right margin is defined in PageProperty.RightMargin.
Properties
These properties return this margin converted to pixels.
RightMarginPix is scaled according to ViewProperty.ZoomPercent (so this property returns the margin as it is displayed on the screen).
RightMargin100Pix is not scaled, it is the margin in 96 DPI and 100% zooming:
RightMarginPix := RightMargin100Pix * (ZoomPercent / 100) * (<screen DPI> / 96).
Methods
The methods return the right margin for the specified page, taking PageProperty.MirrorMargins into account.
See also: