Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- pageNumber
- An integer value which represents a page number of the current document.
| Exception | Description |
|---|---|
| PageMissingGraphicsException | Thrown when no visible graphics are found on the page. |
| System.ArgumentOutOfRangeException | Thrown when an invalid pageNumber is input. |
using (PDFXpress5.PdfXpress pdf = new Accusoft.PdfXpress5.Net.PdfXpress())
{
pdf.Initialize(null, null);
using (PDFXpress5.Document doc = new Document(pdf, “input.pdf” )
{
bool isDeviceGray = doc.IsStrictlyDeviceGray(0);
MessageBox.Show( "IsStrictlyDeviceGray reported {0}" , isDeviceGray.ToString());
}
}