ScaleImage Method

See Also     Examples     Applies To

Resizes the native GdPicture image image, keeping the same aspect ratio. The image is scaled by a percentage value.

Syntax

object.ScaleImage (nScalePercent, nInterpolationMode)

The ScaleImage syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nScalePercent Required. Single. Scale percentage value. Ex: if nScalePercent = 50, the image is reduced to half size.
nInterpolationMode Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear).

Returns

Long. GdPictureStatus

Category

Resize and Rotate





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.