DynamicDocumentPaginator.GetPageNumber(ContentPosition) Method
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, returns the zero-based page number of the specified ContentPosition.
public:
abstract int GetPageNumber(System::Windows::Documents::ContentPosition ^ contentPosition);
public abstract int GetPageNumber(System.Windows.Documents.ContentPosition contentPosition);
abstract member GetPageNumber : System.Windows.Documents.ContentPosition -> int
Public MustOverride Function GetPageNumber (contentPosition As ContentPosition) As Integer
- contentPosition
- ContentPosition
The content position whose page number is needed.
An Int32 representing zero-based page number where the specified contentPosition
appears.
If pages prior to the contentPosition
have not been formatted, they will be paginated synchronously prior to returning the requested page number.
GetPageNumberAsync provides similar functionality as GetPageNumber, but with asynchronous operation.
Produkt | Verzie |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: