LEADTOOLS Image File Support (Leadtools.Codecs assembly)

ReadExtensions(Stream,Int32) Method

Show in webframe







The input file data stream.
1-based index of the page within the file that contains the extension.
Loads extensions from the specified Exif stream.
Syntax
public CodecsExtensionList ReadExtensions( 
   Stream stream,
   int pageNumber
)
'Declaration
 
Public Overloads Function ReadExtensions( _
   ByVal stream As Stream, _
   ByVal pageNumber As Integer _
) As CodecsExtensionList
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim pageNumber As Integer
Dim value As CodecsExtensionList
 
value = instance.ReadExtensions(stream, pageNumber)
public CodecsExtensionList ReadExtensions( 
   Stream stream,
   int pageNumber
)
-(LTCodecsExtensionList*)readExtensions:(LTLeadStream*)stream pageNumber:(unsigned int)pageNumber error:(NSError**)outError;
public CodecsExtensionList readExtensions(ILeadStream stream, int pageNumber)
 function Leadtools.Codecs.RasterCodecs.ReadExtensions(Stream,Int32)( 
   stream ,
   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(String,Int32).
Requirements

Target Platforms

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List
Exif File Extensions

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.