ResizeWidthRatio Method

See Also     Examples     Applies To

Resizes the native GdPicture image with custom width keeping the original aspect ratio for the new height value.

Syntax

object.ResizeWidthRatio (nNewImageWidth, nInterpolationMode)

The ResizeWidthRatio syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nNewImageWidth Required. Long. The new image width in pixel.
nInterpolationMode Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear).

Returns

Long. GdPictureStatus

Category

Resize and Rotate





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.