Some test text!

platform
search

Exception and Error Handling

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

Get the anwsers you need: Support