Skip to main content

PrintLayoutView Class

Represents a page layout view of the Rich Edit control.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

[ComVisible(true)]
public class PrintLayoutView :
    PageBasedRichEditView

The following members return PrintLayoutView objects:

Remarks

The page layout view is intended to display all formatting in the document, including complex, and can be used to preview the document printout.

The Print layout view looks as illustrated in the following picture.

Views-PrintLayoutView

To switch to the view, set the RichEditControl.ActiveViewType property to the RichEditViewType.PrintLayout value or execute the SwitchToPrintLayoutViewCommand command.

Some options specific for the PrintLayoutView can be set using the PrintLayoutViewLayoutOptions class instance.

Tip

The view of the RichEditControl which is currently in use is accessible by the RichEditControl.ActiveView property.

Inheritance

See Also