GetResizedImage Method

See Also     Examples     Applies To

Creates a new resized image from a GdPicture Image.

Syntax

object.GetResizedImage (nimageID, nNewImageWidth, nNewImageHeight, nInterpolationMode)

The GetResizedImage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nimageID Required. Long. GdPicture Image handle. The image to release.
nNewImageWidth Required. Long. New image width in pixel.
nNewImageHeight Required. Long. New image height in pixel.
nInterpolationMode Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear).

Returns

Long.
0: Failur. Use the GetStat() function to determine the reason this function failed.
Non-zero: GdPicture Image handle. Handle of the created image.

Category

Resize and Rotate





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.