TSRVPagePositionProperty.HPadding, VPadding

<< Click to display table of contents >>

TSRVPagePositionProperty.HPadding, VPadding

Minimal distance between outermost pages and sides of the editor's scrollable area, horizontal and vertical.

property HPadding: TRVPixel96Length;
property VPadding: TRVPixel96Length;

HPadding is a minimal possible distance from the left/right side of the scrollable area to a page.

VPadding is a minimal possible distance from the top/bottom side of the scrollable area to a page.

These values are measured in pixels in 96 DPI (i.e. 1 pixel = 1/96 of an inch). When displaying on the screen, the actual distance is recalculated according to the screen DPI. Zooming does not affect the result.

To remove these distances, it's not necessary to assign 0 to these properties. Instead, you can include srvppdHPadding and/or srvppdVPadding in HiddenDistances.

PagePosProperty

Call TSRichViewEdit.Format after changing values of these properties.

Default value:

15