.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Box

DocumentLayout.GetPage(Int32) Method

Gets the page of the document layout by the specified index.

Namespace: DevExpress.XtraRichEdit.API.Layout

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

Declaration

public LayoutPage GetPage(
    int pageIndex
)

Parameters

Name Type Description
pageIndex Int32

An integer that is the index of a requested page.

Returns

Type Description
LayoutPage

A LayoutPage object that is the page of the document layout.

Remarks

If the document layout is ready and up-to-date, the GetPage method returns the page with the specified index. Otherwise, the document layout is calculated from the beginning, creating pages until a page with the specified index is ready. The DocumentLayout.PageFormatted and DocumentLayout.DocumentFormatted events may occur in this situation.

See Also