DocumentPaginator.GetPage(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om