'Declaration Public Function GetImageRegion( _
ByVal leftTopRectIndexThe zero based index of left-top rectangle.As System.Int32, _
ByVal rightBottomRectIndexThe zero based index of right-bottom rectangle.As System.Int32, _
ByVal scaleScale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.As System.Int32, _
ByVal decodingSettingsDecoding settings.As Vintasoft.Imaging.Codecs.Decoders.DecodingSettings, _
ByVal imageLoadingProgressDelegate of the image loading progress. Can be set to null (Nothing in Visual Basic).As System.EventHandler(Of ProgressEventArgs), _
ByVal intermediateImageRequestDelegate for requesting intermediate image. Can be set to null (Nothing in Visual Basic)As System.EventHandler(Of IntermediateImageRequestEventArgs) _
) As Vintasoft.Imaging.VintasoftImage
public Vintasoft.Imaging.VintasoftImage GetImageRegion(
System.Int32 leftTopRectIndex,
System.Int32 rightBottomRectIndex,
System.Int32 scale,
Vintasoft.Imaging.Codecs.Decoders.DecodingSettings decodingSettings,
System.EventHandler<ProgressEventArgs> imageLoadingProgress,
System.EventHandler<IntermediateImageRequestEventArgs> intermediateImageRequest
)
public: Vintasoft.Imaging.VintasoftImage* GetImageRegion(
System.Int32 leftTopRectIndex,
System.Int32 rightBottomRectIndex,
System.Int32 scale,
Vintasoft.Imaging.Codecs.Decoders.DecodingSettings* decodingSettings,
System.EventHandler<ProgressEventArgs*>* imageLoadingProgress,
System.EventHandler<IntermediateImageRequestEventArgs*>* intermediateImageRequest
)
public:
Vintasoft.Imaging.VintasoftImage^ GetImageRegion(
System.Int32 leftTopRectIndex,
System.Int32 rightBottomRectIndex,
System.Int32 scale,
Vintasoft.Imaging.Codecs.Decoders.DecodingSettings^ decodingSettings,
System.EventHandler<ProgressEventArgs^>^ imageLoadingProgress,
System.EventHandler<IntermediateImageRequestEventArgs^>^ intermediateImageRequest
)
Parameters
- leftTopRectIndex
- The zero based index of left-top rectangle.
- rightBottomRectIndex
- The zero based index of right-bottom rectangle.
- scale
- Scale factor. Possible values: 1 - original image rect should be get; N - reduced image rect should be get.
- decodingSettings
- Decoding settings.
- 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)
Return Value
Scaled region of image.