VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.Codecs.Decoders Namespace / XpsDecoder Class / GetImage Methods / GetImage(Int32,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetImage(Int32,DecodingSettings,RenderingSettings,EventHandler<ProgressEventArgs>) Method (XpsDecoder)
    In This Topic
    Returns an image associated with the specified page of the image source.
    Syntax

    Parameters

    pageIndex
    The zero based page index.
    decodingSettings
    The decoding settings that should be used for decoding of page image.
    renderingSettings
    Rendering settings used for rendering the image of page.
    progressDelegate
    Progress delegate.

    Return Value

    Rendered image associated with the specified page of image source.
    Exceptions
    ExceptionDescription
    Thrown if pageIndex is less than zero or greater than number of pages.
    Thrown if renderingSettings is null.
    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