LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)
LEAD Technologies, Inc

GetPageImage Method






The requested page. Must be an existing page in the DocumentReader.Pages list and cannot be a a null reference.
Gets a raster image rendering of a specific page in the document.
Syntax
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
) 

Parameters

page
The requested page. Must be an existing page in the DocumentReader.Pages list and cannot be a a null reference.

Return Value

A Leadtools.RasterImage that represents the rendering of the requested page.
Remarks

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.

Example

For an example, refer to DocumentImageManager.

Requirements

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

See Also

Reference

DocumentImageManager Class
DocumentImageManager Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features