VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / Jbig2Decoder Class / GetImage Methods / GetImage(Int32,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetImage(Int32,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>) Method (Jbig2Decoder)
    In This Topic
    Returns an image associated with the selected page of JBIG2 file.
    Syntax
    'Declaration
    
    Public Overloads Overrides Function GetImage( _
    ByVal pageIndex
    The zero based page index.
    As System.Int32, _
    ByVal renderingSettings
    Rendering settings used for getting info about the image of page.
    As DecodingSettings, _
    ByVal decodingSettings
    The decoding settings that should be used for decoding of page image.
    As RenderingSettings, _
    ByVal imageLoadingProgress
    Delegate of the image loading progress. Can be set to null (Nothing in Visual Basic).
    As System.EventHandler(Of ProgressEventArgs) _
    ) As Vintasoft.Imaging.VintasoftImage

    Parameters

    pageIndex
    The zero based page index.
    renderingSettings
    Rendering settings used for getting info about the image of page.
    decodingSettings
    The decoding settings that should be used for decoding of page image.
    imageLoadingProgress
    Delegate of the image loading progress. Can be set to null (Nothing in Visual Basic).

    Return Value

    Image associated with the selected page of JBIG2 file.
    Exceptions
    ExceptionDescription
    Thrown if pageIndex is less than zero or greater than number of pages.
    Thrown if renderingSettings is null.
    Thrown if error occurs at loading the image.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also