PdfLoadOptions.PageCount
PdfLoadOptions PageCount property. Gets or sets the number of pages to read. Default is MaxValue which means all pages of the document will be read.
PdfLoadOptions.PageCount property
Gets or sets the number of pages to read. Default is MaxValue which means all pages of the document will be read.
public int PageCount { get; set; }
Examples
Shows how to read the first page from PDF document.
PdfLoadOptions pdfLoadOptions = new PdfLoadOptions();
pdfLoadOptions.PageIndex = 0;
pdfLoadOptions.PageCount = 1;
Converter.Create()
.From(MyDir + "Simple.pdf", pdfLoadOptions)
.To(ArtifactsDir + "PdfLoadOptions.PageCount.xps")
.Execute();
See Also
- class PdfLoadOptions
- namespace Wordize.Loading
- assembly Wordize