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






FileName
PageNumber
.
Create image from image file

Syntax

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

Parameters

FileName
PageNumber
.

Remarks

This method generates an error if Image object is a zone.

This method reads the following image file formats:

  • Bitonal: TIFF, PCX, BMP, PDF
  • Color and Grayscale: TIFF, BMP, PDF, WMF, JPEG, Targa, PCX, and PICT.

Multipage TIFF and PDF image files are supported. See EFileFormat for list of supported formats.
PDF read requires CiPdf license.

Additional formats might be supported. Review current specification at www.inliteresearch.com or contact technical support support@inliteresearch.com

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.