TSRVPageProperty.AutoWidth

<< Click to display table of contents >>

TSRVPageProperty.AutoWidth

Specifies whether page width is automatically calculated depending on the editor's client width.

property AutoWidth: Boolean; 

If this property is True, a document occupies all available width (except for the double PagePosProperty.HPadding), a horizontal scrollbar is never enabled. In a read mode, document also occupies all available height (except for the double PagePosProperty.VPadding). In this mode, zooming is applied to a document content and is not applied to sizes of pages. Page size and format specified are ignored in this mode.

This property may be used when implementing custom view modes, for example, "web mode" and "read mode".

Default value:

False