LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

GetInformation(String,Boolean,Int32) Method






System.String containing the input file name to query.
true to query the file for total number of pages; false, otherwise.
Page number in the file to query.
Gets the specific image page information from a disk file. .NET support Silverlight support
Syntax
public CodecsImageInfo GetInformation( 
   string fileName,
   bool totalPages,
   int pageNumber
)
'Declaration
 
Public Overloads Function GetInformation( _
   ByVal fileName As String, _
   ByVal totalPages As Boolean, _
   ByVal pageNumber As Integer _
) As CodecsImageInfo
'Usage
 
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)
public CodecsImageInfo GetInformation( 
   string fileName,
   bool totalPages,
   int pageNumber
)
 function Leadtools.Codecs.RasterCodecs.GetInformation(String,Boolean,Int32)( 
   fileName ,
   totalPages ,
   pageNumber 
)
public:
CodecsImageInfo^ GetInformation( 
   String^ fileName,
   bool totalPages,
   int pageNumber
) 

Parameters

fileName
System.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.
Remarks

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

Example
For an example, refer to GetInformation(String,Boolean).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Loading and Saving Large Tiff Files
Speeding Up 1-Bit Documents

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.