←Select platform

ReadExtensions(Stream,int) Method

Summary

Loads extensions from the specified Exif stream.

Syntax
C#
VB
Java
Objective-C
C++
public CodecsExtensionList ReadExtensions( 
   Stream stream, 
   int pageNumber 
) 
Public Overloads Function ReadExtensions( _ 
   ByVal stream As Stream, _ 
   ByVal pageNumber As Integer _ 
) As CodecsExtensionList 
- (nullable LTCodecsExtensionList *)readExtensionsFromStream:(LTLeadStream *)stream  
                                                  pageNumber:(NSInteger)pageNumber  
                                                       error:(NSError **)error 
public CodecsExtensionList readExtensions(ILeadStream stream, int pageNumber) 
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.

Remarks

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.

Example

For an example, refer to ReadExtensions.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly