VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.Decoders Namespace / WsiDecoderBase Class / CanReadImageRegion(Int32,Int32,DecodingSettings) Method
Syntax Remarks Requirements SeeAlso
In This Topic
CanReadImageRegion(Int32,Int32,DecodingSettings) Method (WsiDecoderBase)
In This Topic
Returns a value indicating whether decoder can read a region of the image.
Syntax
'Declaration

Public Function CanReadImageRegion( _
ByVal scale
Scale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.
As System.Int32, _
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 Boolean
public bool CanReadImageRegion(
System.Int32 scale,
System.Int32 pageIndex,
DecodingSettings decodingSettings
)

Parameters

scale
Scale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.
pageIndex
The zero based page index.
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