PdfPageEditor.GetPages
PdfPageEditor.GetPages method
Returns total number of pages.
public int GetPages()
Return Value
Number of pages.
Examples
The following example demonstrates using of GetPages() method:
PdfPageEditor editor = new PdfPageEditor();
editor.BindPdf("sample.pdf");
Console.WriteLine("Document has: " + editor.GetPages());
See Also
- class PdfPageEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF