TSRichViewEdit.PageWidthPix, PageWidth100Pix (read-only)

Top  Previous  Next

The properties return a page width of document on the screen.

property PageWidthPix: Integer;

property PageWidth100Pix: Integer;

PageWidthPix returns the page width converted to screen pixels and scaled according to ViewProperty.ZoomPercent (i.e. a page width as it can be seen in the control window).

PageWidth100Pix returns the page width converted to screen pixels in ZoomPercent=100. The same value measured in UnitsProgram is returned in ViewProperty.PageWidth.

The page width is defined in PageProperty.PageWidth.

See also:

PageHeightPix


ScaleRichView © trichview.com