This sample shows how to save a PDF page as PNG, JPG, or TIFF image with the specified resolution using Docotic.Pdf library.
Use PdfDrawOptions.HorizontalResolution and PdfDrawOptions.VerticalResolution properties to set the desired resolution (in pixels per inch) for the output image. Then use configured PdfDrawOptions as a parameter for PdfPage.Save method.