StretchImage Method of the ImageProcessingTools Object

This method stretches or shrinks the image to the specified size.

Syntax

Visual Basic .NET

Function StretchImage( _
  Image As Image, _
  Width As Integer, _
  Height As Integer, _
  NewResolution As Integer _
) As Image
    

C++

HRESULT StretchImage(
  IImage*  Image,
  int      Width,
  int      Height,
  int      NewResolution,
  IImage** Result
);
    

Parameters

Image
[in] This variable refers to the Image object which is to be preprocessed.
Width
[in] Specifies the width of the resulting image.
Height
[in] Specifies the height of the resulting image.
NewResolution
[in] Specifies the resolution of the resulting image.
Result
[out, retval] A pointer to the IImage* pointer variable that provides access to the resulting image.

Return values

This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.

See also

ImageProcessingTools

8/15/2023 1:19:30 PM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.