Some test text!

keyboard_arrow_down

Get started

keyboard_arrow_down

Document viewer

keyboard_arrow_down

Tools UI Library

keyboard_arrow_down

Document viewer components

keyboard_arrow_down

Conversion

keyboard_arrow_down

Advanced customization

keyboard_arrow_down

Other topics

Saving PDF documentsDocument locking
keyboard_arrow_down

Other frameworks

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);
}