←Select platform

ReadLoadResolutionsAsync(ILeadStream) Method

Summary

Examines a stream to determine which resolutions it contains.

Syntax

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

Parameters

stream
A ILeadStream containing the data of the image file to query.

Return Value

When this method completes, it returns the available resolutions as an array of LeadSize structures.

Remarks

A FlashPix, PhotoCD, ECW, JPEG 2000 or JBIG/JBIG2 file can contain more than one copy of the same image, each at a different physical resolution (width and height in pixels).

After you get the available resolutions, you can use any of the following to specify the one to be loaded:

For more information, refer to Implementing JBIG Features.

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