TSRichViewEdit.LeftMarginPix, LeftMargin100Pix

TSRichViewEdit.GetLeftMarginPix, GetLeftMargin100Pix

Top  Previous  Next

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 100% zooming.

Methods

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

See also:

TopMarginPix

RightMarginPix

BottomMarginPix


ScaleRichView © trichview.com