Leadtools.Codecs Namespace > RasterCodecs Class > GetInformation Method : GetInformation(String,Boolean,Int32) Method |
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 )
Specifying true for totalPages can cause the process to be slow for files with large number of pages.
To quickly query the number of an image, use GetTotalPages(String) or GetTotalPagesAsync.
To quickly query the format of an image, use GetFormat(String) or GetFormatAsync.