Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.8.30
|
Leadtools.Codecs Namespace > RasterCodecs Class > ReadLoadResolutionsAsync Method : ReadLoadResolutionsAsync(ILeadStream,Int32) Method |
public IAsyncOperation<IVector<LeadSize>> ReadLoadResolutionsAsync( ILeadStream stream, int pageNumber )
'Declaration
Public Overloads Function ReadLoadResolutionsAsync( _ ByVal stream As ILeadStream, _ ByVal pageNumber As Integer _ ) As IAsyncOperation(Of IVector(Of LeadSize))
'Usage
Dim instance As RasterCodecs Dim stream As ILeadStream Dim pageNumber As Integer Dim value As IAsyncOperation(Of IVector(Of LeadSize)) value = instance.ReadLoadResolutionsAsync(stream, pageNumber)
public IAsyncOperation<IVector<LeadSize>> ReadLoadResolutionsAsync( ILeadStream stream, int pageNumber )
function Leadtools.Codecs.RasterCodecs.ReadLoadResolutionsAsync(ILeadStream,Int32)( stream , pageNumber )
public: IAsyncOperation<IVector<LeadSize>^>^ ReadLoadResolutionsAsync( ILeadStream^ stream, int pageNumber )
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).
The pages numbers start with 1, so set pageNumber to 2 to read the resolutions from the second page. If you set pageNumber to 1, the function behaves like the equivalent function without the pageNumber parameter.
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.