←Select platform

ReadExtensionsAsync Method

Summary

Loads extensions from the specified Exif stream.

Syntax

C#
VB
WinRT C#
C++
public IAsyncOperation<CodecsExtensionList> ReadExtensionsAsync(  
   ILeadStream stream, 
   int pageNumber 
) 
Public Function ReadExtensionsAsync( _ 
   ByVal stream As ILeadStream, _ 
   ByVal pageNumber As Integer _ 
) As IAsyncOperation(Of CodecsExtensionList) 
public IAsyncOperation<CodecsExtensionList> ReadExtensionsAsync(  
   ILeadStream stream, 
   int pageNumber 
) 
 function Leadtools.Codecs.RasterCodecs.ReadExtensionsAsync(  
   stream , 
   pageNumber  
) 
public: 
IAsyncOperation<CodecsExtensionList^>^ ReadExtensionsAsync(  
   ILeadStream^ 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

When this method completes, it returns 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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly