VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.ImageRendering Namespace / RasterGridImageDecoder Class / GetImageRect(Int32,Int32,DecodingSettings,EventHandler<ProgressEventArgs>,EventHandler<IntermediateImageRequestEventArgs>) Method
Syntax Requirements SeeAlso
In This Topic
    GetImageRect(Int32,Int32,DecodingSettings,EventHandler<ProgressEventArgs>,EventHandler<IntermediateImageRequestEventArgs>) Method (RasterGridImageDecoder)
    In This Topic
    Returns a scaled rectangle of raster image.
    Syntax
    'Declaration
    
    Public Function GetImageRect( _
    ByVal rectIndex
    The zero based the rectangle index.
    As System.Int32, _
    ByVal scale
    Scale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.
    As System.Int32, _
    ByVal imageLoadingProgress
    Delegate of the image loading progress. Can be set to null (Nothing in Visual Basic).
    As Vintasoft.Imaging.Codecs.Decoders.DecodingSettings, _
    ByVal intermediateImageRequest
    Delegate for requesting intermediate image. Can be set to null (Nothing in Visual Basic)
    As System.EventHandler(Of ProgressEventArgs), _
    ByVal decodingSettings
    The decoding settings that should be used for decoding of page image.
    As System.EventHandler(Of IntermediateImageRequestEventArgs) _
    ) As Vintasoft.Imaging.VintasoftImage

    Parameters

    rectIndex
    The zero based the rectangle index.
    scale
    Scale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.
    imageLoadingProgress
    Delegate of the image loading progress. Can be set to null (Nothing in Visual Basic).
    intermediateImageRequest
    Delegate for requesting intermediate image. Can be set to null (Nothing in Visual Basic)
    decodingSettings
    The decoding settings that should be used for decoding of page image.

    Return Value

    Scaled rectangle of 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