ClearImage .NET API
Open(String,Int32) Method





Inlite.ClearImageNet Namespace > ImageIO Class > Open Method : Open(String,Int32) Method
Name of the file
.
Create image from image file
Syntax
'Declaration
 
Public Overloads Function Open( _
   ByVal fileName As System.String, _
   ByVal pageNumber As System.Integer _
) As System.Drawing.Bitmap
'Usage
 
Dim instance As ImageIO
Dim fileName As System.String
Dim pageNumber As System.Integer
Dim value As System.Drawing.Bitmap
 
value = instance.Open(fileName, pageNumber)
public System.Drawing.Bitmap Open( 
   System.string fileName,
   System.int pageNumber
)
public function Open( 
    fileName: System.String;
    pageNumber: System.Integer
): System.Drawing.Bitmap; 
public function Open( 
   fileName : System.String,
   pageNumber : System.int
) : System.Drawing.Bitmap;
public:
System.Drawing.Bitmap^ Open( 
   System.String^ fileName,
   System.int pageNumber
) 

Parameters

fileName
Name of the file
pageNumber
.

Return Value

Bitmap object
Remarks

This method reads an image from an image file.  pageNumber parameter identifies page in multi-page TIFF and PDF files.

See Image file opening guidelines on Inlite's How-to Web Site

See Also

Reference

ImageIO Class
ImageIO Members
Overload List