VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / IRasterGridDecoder Interface / GetImageRectScales(Int32,DecodingSettings) Method
Syntax Remarks Requirements SeeAlso
In This Topic
GetImageRectScales(Int32,DecodingSettings) Method (IRasterGridDecoder)
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.
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