Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
GetInformation(String,Boolean,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > GetInformation Method : GetInformation(String,Boolean,Int32) Method




fileName
String containing the input file name to query.
totalPages
true to query the file for total number of pages, false otherwise.
pageNumber
Page number in the file to query.
Gets the specific image page information from a disk file.

Syntax

Visual Basic (Declaration) 
Overloads Public Function GetInformation( _
   ByVal fileName As String, _
   ByVal totalPages As Boolean, _
   ByVal pageNumber As Integer _
) As CodecsImageInfo
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim fileName As String
Dim totalPages As Boolean
Dim pageNumber As Integer
Dim value As CodecsImageInfo
 
value = instance.GetInformation(fileName, totalPages, pageNumber)
C# 
public CodecsImageInfo GetInformation( 
   string fileName,
   bool totalPages,
   int pageNumber
)
Managed Extensions for C++ 
public: CodecsImageInfo* GetInformation( 
   string* fileName,
   bool totalPages,
   int pageNumber
) 
C++/CLI 
public:
CodecsImageInfo^ GetInformation( 
   String^ fileName,
   bool totalPages,
   int pageNumber
) 

Parameters

fileName
String containing the input file name to query.
totalPages
true to query the file for total number of pages, false otherwise.
pageNumber
Page number in the file to query.

Return Value

A CodecsImageInfo object that contains the information about the specified image.

Example

For an example, refer to GetInformation.

Remarks

Specifying true for totalPages can cause the process to be slow for files with large number of pages.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also