Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Error handling

This sample shows how to handle PDF-specific exceptions thrown by Docotic.Pdf library in C# and VB.NET.

Description

Besides standard .NET exceptions (such as ArgumentNullException or ArgumentOutOfRangeException) the library throws exceptions of the PdfException type and its subtypes. These exceptions are specific to PDF format.

The library throws them when you try to do something that is not allowed or invalid from the PDF standard point of view. This sample shows one of such situations: a try to draw some text with characters which are not supported by the current font.

See also