TSRichViewEdit.TopMarginPix, TopMargin100Pix

Top  Previous  Next

Returns the top margin, in pixels.

property TopMarginPix: Integer;

property TopMargin100Pix: Integer;

The top margin is defined in PageProperty.TopMargin. These properties return this margin converted to pixels.

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

TopMargin100Pix is not scaled, it is the margin in 100% zooming.

See also:




ScaleRichView © trichview.com