LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

ReadLoadResolutionsAsync Method






A Leadtools.ILeadStream containing the data of the image file to query.
Examines a stream to determine which resolutions it contains. .NET support WinRT support
Syntax
public IAsyncOperation<IVector<LeadSize>> ReadLoadResolutionsAsync( 
   ILeadStream stream
)
'Declaration
 
Public Function ReadLoadResolutionsAsync( _
   ByVal stream As ILeadStream _
) As IAsyncOperation(Of IVector(Of LeadSize))
'Usage
 
Dim instance As RasterCodecs
Dim stream As ILeadStream
Dim value As IAsyncOperation(Of IVector(Of LeadSize))
 
value = instance.ReadLoadResolutionsAsync(stream)
public IAsyncOperation<IVector<LeadSize>> ReadLoadResolutionsAsync( 
   ILeadStream stream
)
 function Leadtools.Codecs.RasterCodecs.ReadLoadResolutionsAsync( 
   stream 
)
public:
IAsyncOperation<IVector<LeadSize>^>^ ReadLoadResolutionsAsync( 
   ILeadStream^ stream
) 

Parameters

stream
A Leadtools.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 Leadtools.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.

Example
For an example, refer to ReadLoadResolutions.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

RasterCodecs Class
RasterCodecs Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.