TSRichViewEdit.LeftMarginPix, LeftMargin100Pix

TSRichViewEdit.GetLeftMarginPix, GetLeftMargin100Pix

<< Click to display table of contents >>

TSRichViewEdit.LeftMarginPix, LeftMargin100Pix

TSRichViewEdit.GetLeftMarginPix, GetLeftMargin100Pix

Returns the left margin, in pixels.

property LeftMarginPix: Integer;

property LeftMargin100Pix: Integer;

function GetLeftMarginPix(PageNo : Integer) : Integer;

function GetLeftMargin100Pix(PageNo : Integer) : Integer;

The left margin is defined in PageProperty.LeftMargin.

Properties

These properties return this margin converted to pixels.

LeftMarginPix is scaled according to ViewProperty.ZoomPercent (so this property returns the margin as it is displayed on the screen).

LeftMargin100Pix is not scaled, it is the margin in 96 DPI and 100% zooming:

LeftMarginPix := LeftMargin100Pix * (ZoomPercent / 100) * (<screen DPI> / 96).

Methods

The methods return the left margin for the specified page, taking PageProperty.MirrorMargins into account.

See also:

TopMarginPix

RightMarginPix

BottomMarginPix