Redigeeri

Jagamisviis:


DocumentPaginator.GetPage(Int32) Method

Definition

When overridden in a derived class, gets the DocumentPage for the specified page number.

public:
 abstract System::Windows::Documents::DocumentPage ^ GetPage(int pageNumber);
public abstract System.Windows.Documents.DocumentPage GetPage (int pageNumber);
abstract member GetPage : int -> System.Windows.Documents.DocumentPage
Public MustOverride Function GetPage (pageNumber As Integer) As DocumentPage

Parameters

pageNumber
Int32

The zero-based page number of the document page that is needed.

Returns

The DocumentPage for the specified pageNumber, or Missing if the page does not exist.

Exceptions

pageNumber is negative.

Remarks

If pages prior to pageNumber have not been formatted, they will be paginated synchronously prior to returning the requested page.

GetPageAsync provides similar functionality as GetPage, but for asynchronous operation.

Applies to