TRVAControlPanel.DefaultDocParameters

<< Click to display table of contents >>

TRVAControlPanel.DefaultDocParameters

Specifies default page parameters for new documents (page size, margins, etc.)

property DefaultDocParameters: TRVDocParameters;

If rvfoSaveDocProperties is included in RVFOptions properties of  TRichViewEdit control, this property is assigned to its DocParameters property in the following cases:

when TrvActionNew is executed;

before TrvActionOpen loads a file.

ZoomPercent and ZoomMode sub-properties are not assigned.

Units sub-property is not assigned too. All sizes are converted to RichViewEdit.DocParameters.Units.

 

srv_icon ScaleRichView note: this property is especially important if RichViewActions are used with TSRichViewEdit control (ScaleRichView). DefaultDocParameters define a page layout for new documents, and DefaultMargin property is ignored.

 

See also:

DefaultColor

TrvActionNew.StyleTemplates