How to Open and Read PDF into .NET Application
Two methods are supplied to read and load PDF document into your .NET application. One is from local PDF file, and the other is from stream which contains file stream and memory stream.
public bool LoadPDF(string fileName);
public bool LoadPDF(Stream stream);
How to Obtain Size Information of PDF Page
If you need the original size of loaded PDF file page, please use the .NET programming code below.
public int GetPageHeight(int pageIndex);
public int GetPageWidth(int pageIndex);
How to Get GIF Image (with User-defined Size)
Page index here is used to define which PDF page you want to change to GIF image file. .NET developers can feel free to transform any of PDF page or a range of pages to raster image Gif.
Public Bitmap ToImage(int pageIndex);
If you want to customize the size of output .gif, please add the following .NET class code.
Public Bitmap ToImage(int pageIndex, int width, int height);