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 objectIf 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.
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.
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