VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / IRasterGridDecoder Interface / CanReadImageRegion(Int32,Int32,DecodingSettings) Method
Syntax Remarks Requirements SeeAlso
In This Topic
CanReadImageRegion(Int32,Int32,DecodingSettings) Method (IRasterGridDecoder)
In This Topic
Determines that decoder can read a region of the image.
Syntax
'Declaration

Public Function CanReadImageRegion( _
ByVal pageIndex
The zero based page 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 decodingSettings
The decoding settings that should be used for decoding of page image.
As DecodingSettings _
) As Boolean
public bool CanReadImageRegion(
System.Int32 pageIndex,
System.Int32 scale,
DecodingSettings decodingSettings
)

Parameters

pageIndex
The zero based page index.
scale
Scale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.
decodingSettings
The decoding settings that should be used for decoding of page image.

Return Value

True if decoder can read a region of the image;
false if decoder can read only rectangle of the image.
Remarks

Region represents a rectangular region on the image and composed from a sequence of rectangles.

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