PictureEffectsConsole Xojo Plugin

ScaleEffectConsole.StretchVertical Method (console only)

To stretch a picture vertically.

StretchVertical(
   source as Picture,
   dstHeight as Integer) as Picture

Parameters

source
The source picture to work with.
dstHeight
The height of the destination image.

Returns

Picture
If the filter was successful: A reference to the modified picture.

If nil was returned then see the ErrorCode property to get hints for cause of the error.

Remarks

If the picture is stretched so that it gets larger than the original then BilinearScale is internally called to get better quality. If the image is stretched so that it gets smaller then a high quality stretch down algorithm is used.

See Also

ScaleEffectConsole Class