Visual Basic (Declaration) | |
---|---|
Public Overloads Function ReadExtensions( _ ByVal stream As Stream, _ ByVal pageNumber As Integer _ ) As CodecsExtensionList |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public CodecsExtensionList ReadExtensions( Stream stream, int pageNumber ) |
C++/CLI | |
---|---|
public: CodecsExtensionList^ ReadExtensions( Stream^ stream, int pageNumber ) |
Parameters
- stream
- The input file data stream.
- pageNumber
- 1-based index of the page within the file that contains the extension.
Return Value
An CodecsExtensionList object that contains the extensions found in this file.For an example, refer to ReadExtensions.
Please note that not all Exif files have extensions.
Currently, this method works only with Exif files. Exif files can contain extra data stored as "FlashPix extensions". This method can be used to access this extra data. Leadtools refers to this extra data as "extensions".
You must dispose the CodecsExtensionList returned from this method when you are done using it.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family