←Select platform

ReadMarkersAsync Method

Summary

Reads all the metadata markers (COM and APPn) from a stream.

Syntax

C#
VB
WinRT C#
C++
public IAsyncOperation<IVector<RasterMarkerMetadata>> ReadMarkersAsync(  
   ILeadStream stream 
) 
Public Function ReadMarkersAsync( _ 
   ByVal stream As ILeadStream _ 
) As IAsyncOperation(Of IVector(Of RasterMarkerMetadata)) 
public IAsyncOperation<IVector<RasterMarkerMetadata>> ReadMarkersAsync(  
   ILeadStream stream 
) 
 function Leadtools.Codecs.RasterCodecs.ReadMarkersAsync(  
   stream  
) 
public: 
IAsyncOperation<IVector<RasterMarkerMetadata^>^>^ ReadMarkersAsync(  
   ILeadStream^ stream 
)  

Parameters

stream
A ILeadStream containing the input file image data.

Return Value

When this method completes, it returns a collection of RasterMarkerMetadata objects containing the metadata marker data.

Remarks

This method reads all the metadata markers from a file, and returns a collection of the markers.

For Exif files, this metadata collection will contain all the Exif and GPS comments, stored in APP1. It will also contain the audio information stored in APP2.

If the file contains no marker, then this method will return an empty collection.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Codecs Assembly
Click or drag to resize