←Select platform

ReadLoadResolutions(Stream) Method

Summary

Examines a stream to determine which resolutions it contains.

Syntax

C#
VB
Java
Objective-C
C++
public LeadSize[] ReadLoadResolutions( 
   Stream stream 
) 

Public Overloads Function ReadLoadResolutions( _ 
   ByVal stream As Stream _ 
) As LeadSize() 

- (nullable NSArray<NSValue/*CGSize*/ *> *)loadResolutionsForStream:(LTLeadStream *)stream error:(NSError **)error 

public LeadSize[] readLoadResolutions(ILeadStream stream) 

public: 
array<LeadSize>^ ReadLoadResolutions(  
   Stream^ stream 
)  

Parameters

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

Return Value

A LeadSize structure containing the available resolutions.

Remarks

A FlashPix, PhotoCD, 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

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

Leadtools.Codecs Assembly