This sample shows how to extract page objects like text, paths, and images from a PDF document.
The sample draws the extracted objects on a System.Drawing.Graphics surface.
Use PdfPage.GetObjects methods to get all page text, paths, and images. The methods return an ordered collection. The code draws each subsequent object in the collection after the previous one.
This sample code uses free Docotic.Pdf.Gdi add-on for Docotic.Pdf library.
NOTE: In certain environments, it is not recommended to use the add-on. Please read the description for the addon for more information.