- stream
- A System.IO.Stream containing the data of the image file to query.
Visual Basic (Declaration) | |
---|---|
Overloads Public Function ReadLoadResolutions( _ ByVal stream As Stream _ ) As LeadSize() |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterCodecs Dim stream As Stream Dim value() As LeadSize value = instance.ReadLoadResolutions(stream) |
C# | |
---|---|
public LeadSize[] ReadLoadResolutions( Stream stream ) |
C++/CLI | |
---|---|
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.For an example, refer to ReadLoadResolutions.
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:
- CodecsJbigLoadOptions.Resolution
- CodecsJpeg2000LoadOptions.J2kResolution
- CodecsJpeg2000LoadOptions.CmwResolution
- CodecsFpxLoadOptions.Resolution
- CodecsPcdLoadOptions.Resolution
- Deprecated - No longer supported.CodecsSidLoadOptions.Resolution
- CodecsEcwLoadOptions.Resolution
For more information, refer to Implementing JBIG Features.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)