Some test text!

keyboard_arrow_down

Get started

keyboard_arrow_down

Document Viewer

keyboard_arrow_down

Document Viewer components

keyboard_arrow_down

Annotation and collaboration

keyboard_arrow_down

Advanced customization

keyboard_arrow_down

Conversion

keyboard_arrow_down

Search

keyboard_arrow_down

Other Frameworks

keyboard_arrow_down

Advanced topics

keyboard_arrow_down

FAQ

keyboard_arrow_down

PDF Processing API

What is PDFNet?Opening a documentSerializing (saving) a documentWorking with pagesWorking with Page ContentWorking with BookmarksWorking with Interactive Forms (AcroForms)PDF SecurityLow-level PDF APIError handling
Error handlingkeyboard_arrow_down

Exception and Error Handling

PDFNet uses exceptions to report exceptional program states and corrupt input. For example:

try 
{
  PDFDoc doc = new PDFDoc("file.pdf");
  doc.InitSecurityHandler();
  doc.GetPage(9999999); 
  // ...
}
catch (PDFNetException e) 
{
  Console.WriteLine(e.Message);
}