Logo
My Account |  Site Map | Contact Us  
 The same content in Microsoft HTML help file format is included in the download package.
PdfRender Class

Renders PDF pages as an image.

Namespace: EO.Pdf
Assembly: EO.Pdf (in EO.Pdf.dll)

Inheritance Hierarchy

System.Object
   EO.Pdf.PdfRender

Syntax
 public class PdfRender : IDisposable
Remarks

The following code demonstrates how to render the first page of a give PDF file as an image:

//Create a new PdfRender object
using (PdfRender render = PdfRender.Create())
{
    //Load the PDF file
    render.Load("test.pdf");

    //Render the first page as image
    System.Drawing.Image pageImage = render.Render(0);
}

See Also

Direct link to this topic