ClearImage 8 Help
Open(String,Int32) Method
See Also  Send Feedback
Inlite.ClearImageNet Namespace > ImageIO Class > Open Method : Open(String,Int32) Method






fileName
Name of the file
pageNumber
Number of the page to read
Reads the specified page from the specified image file to a Bitmap object

Syntax

Visual Basic (Declaration) 
Public Overloads Function Open( _
   ByVal fileName As String, _
   ByVal pageNumber As Integer _
) As Bitmap
Visual Basic (Usage)Copy Code
Dim instance As ImageIO
Dim fileName As String
Dim pageNumber As Integer
Dim value As Bitmap
 
value = instance.Open(fileName, pageNumber)
C# 
public Bitmap Open( 
   string fileName,
   int pageNumber
)
Delphi 
public function Open( 
    fileName: String;
    pageNumber: Integer
): Bitmap; 
JScript 
public function Open( 
   fileName : String,
   pageNumber : int
) : Bitmap;
Managed Extensions for C++ 
public: Bitmap* Open( 
   string* fileName,
   int pageNumber
) 
C++/CLI 
public:
Bitmap^ Open( 
   String^ fileName,
   int pageNumber
) 

Parameters

fileName
Name of the file
pageNumber
Number of the page to read

Return Value

Bitmap object

Remarks

If PDF file page contains a page-size image, extracted image is returned.
Otherwise PDF page is rasterized and raster image is returned.

Licensing: Requires ClearImage PDF IO license to use with PDF files.
Any ClearImage license is required for other image file formats.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.