Back to Devexpress

PrintLayoutView Class

officefileapi-devexpress-dot-xtrarichedit-c1050194.md

latest2.9 KB
Original Source

PrintLayoutView Class

Represents a page layout view of the Rich Edit control.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public class PrintLayoutView :
    PageBasedRichEditView
vb
<ComVisible(True)>
Public Class PrintLayoutView
    Inherits 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.

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.

Implements

INotifyPropertyChanged

IDisposable

Inheritance

Object RichEditView PageBasedRichEditView PrintLayoutView

See Also

PrintLayoutView Members

Views in Rich Text Editor for WinForms

How To: Add Line Numbering in the Rich Text Editor

DevExpress.XtraRichEdit Namespace