VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / Jpeg2000Decoder Class / GetImageRectScales(Int32,DecodingSettings) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
GetImageRectScales(Int32,DecodingSettings) Method (Jpeg2000Decoder)
In This Topic
Returns an array of scale factors for rectangles of image grid.
Syntax
'Declaration

Public Function GetImageRectScales( _
ByVal pageIndex
The zero based page index.
As System.Int32, _
ByVal decodingSettings
The decoding settings that should be used for decoding of page image.
As DecodingSettings _
) As System.Int32[]
public System.Int32[] GetImageRectScales(
System.Int32 pageIndex,
DecodingSettings decodingSettings
)

Parameters

pageIndex
The zero based page index.
decodingSettings
The decoding settings that should be used for decoding of page image.

Return Value

An array of scale factors for rectangles of image grid.
Exceptions
ExceptionDescription
Thrown if pageIndex is less than zero or greater than number of pages.
Remarks

Possible values of scale factor:

  • 1 - decoder can return image rectangle without scaling
  • N - decoder can return an image rectangle reduced N times

Requirements

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

See Also