TSRVPagePositionProperty.AlignPageH

<< Click to display table of contents >>

TSRVPagePositionProperty.AlignPageH

Specifies the horizontal alignment of pages.

type

  TSRVAlignPageH = 

    (srvaphLeft, srvaphRight, srvaphCenter);

 

property AlignPageH : TSRVAlignPageH;

A minimum distance from the left and the right sides of the scrollable area to a page is specified in HPadding. If a page width is smaller than the rest of space, pages are aligned according to the value of this property (if there are multiple columns of pages, columns as a whole are aligned according to this property).

If TSRichViewEdit.PageProperty.AutoWidth=True, the page occupies all available window width (excluding the double HPadding), so this alignment makes sense only if TSRichViewEdit.PageProperty.AutoWidth=False.

if TSRichViewEdit.BiDiMode = rvbdRightToLeft, left and right values of this property are exchanged.

Call TSRichViewEdit.Format after changing value of this property.

Default value:

srvaphCenter