Visual Basic (Declaration) | |
---|---|
Public Overloads Function GetInformation( _ ByVal fileName As String, _ ByVal totalPages As Boolean, _ ByVal pageNumber As Integer _ ) As CodecsImageInfo |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.For an example, refer to GetInformation.
Specifying true for totalPages can cause the process to be slow for files with large number of pages.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family