LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)

GetPageImage Method

Show in webframe





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
) 

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

See Also

Reference

DocumentImageManager Class
DocumentImageManager Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 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