Leadtools.Forms.DocumentReaders Namespace > DocumentImageManager Class : GetPageImage Method |
public RasterImage GetPageImage( DocumentReaderPage page )
'Declaration Public Function GetPageImage( _ ByVal page As DocumentReaderPage _ ) As RasterImage
'Usage Dim instance As DocumentImageManager Dim page As DocumentReaderPage Dim value As RasterImage value = instance.GetPageImage(page)
public RasterImage GetPageImage( DocumentReaderPage page )
function Leadtools.Forms.DocumentReaders.DocumentImageManager.GetPageImage( page )
public: RasterImage^ GetPageImage( DocumentReaderPage^ page )
The size of the resulting Leadtools.RasterImage depends on the size of the page (DocumentReaderPage.PixelWidth and DocumentReaderPage.PixelHeight). The image will also contain the same bits/pixel and resolution set in DocumentReaderPage.BitsPerPixel, DocumentReaderPage.DpiX and DocumentReaderPage.DpiY.
Once the page is rendered as a Leadtools.RasterImage object, you can use this object to perform any other image functionality with LEADTOOLS, such as setting it into a viewer control, image processing, saving to other formats, etc.
To get a thumbnail of any page in a PDF document, use GetThumbnail.
For an example, refer to DocumentImageManager.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2