LEADTOOLS Image File Support (Leadtools.Codecs assembly)

ReadLoadResolutions(Stream) Method

Show in webframe







A System.IO.Stream containing the data of the image file to query.
Examines a stream to determine which resolutions it contains.
Syntax
public LeadSize[] ReadLoadResolutions( 
   Stream stream
)
'Declaration
 
Public Overloads Function ReadLoadResolutions( _
   ByVal stream As Stream _
) As LeadSize()
'Usage
 
Dim instance As RasterCodecs
Dim stream As Stream
Dim value() As LeadSize
 
value = instance.ReadLoadResolutions(stream)
public LeadSize[] ReadLoadResolutions( 
   Stream stream
)
-(NSArray*)readLoadResolutions:(LTLeadStream*)stream error:(NSError**)outError;
public LeadSize[] readLoadResolutions(ILeadStream stream)
 function Leadtools.Codecs.RasterCodecs.ReadLoadResolutions(Stream)( 
   stream 
)
public:
array<LeadSize>^ ReadLoadResolutions( 
   Stream^ stream
) 

Parameters

stream
A System.IO.Stream containing the data of the image file to query.

Return Value

A Leadtools.LeadSize structure containing the available resolutions.
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

See Also

Reference

RasterCodecs Class
RasterCodecs Members
Overload List

 

 


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