The ExportPage(Int32) Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.
- pageIndex
- The zero-based index of the page to export.
Visual Basic (Declaration) | |
---|---|
Overloads Function ExportPage( _ ByVal pageIndex As Integer _ ) As RasterImage |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IOcrPageCollection Dim pageIndex As Integer Dim value As RasterImage value = instance.ExportPage(pageIndex) |
C# | |
---|---|
RasterImage ExportPage( int pageIndex ) |
C++/CLI | |
---|---|
RasterImage^ ExportPage( int pageIndex ) |
Parameters
- pageIndex
- The zero-based index of the page to export.
Return Value
A Leadtools.RasterImage object containing a copy of the image data of the specified page.This method copies the image data to the created Leadtools.RasterImage object image. Therefore, after this method returns, there is no relationship between the returned value and the IOcrPage inside the OCR document. The returned Leadtools.RasterImage object will need to be disposed.
To export more than one page to a multi-page Leadtools.RasterImage object, use ExportPages(int firstPageIndex, int lastPageIndex).
This method is identical to calling IOcrPage.GetRasterImage() on the page whose index is at pageIndex.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7