This sample shows how to save a PDF page as an image using Docotic.Pdf library. I.e., how to convert a PDF page to PNG, JPG, or TIFF image.
Use PdfPage.Save method with specific PdfDrawOptions. To create PdfDrawOptions, use PdfDrawOptions.Create method. This method will create default options: PNG images with a transparent background. Please note that you can fine-tune options after creation.