DrawImageTransparency Method

See Also     Examples     Applies To

Draws an image into the native GdPicture image with transparency effect.

Syntax

object.DrawImageTransparency (nimageID, nTransparency, nDstLeft, nDstTop, nDstWidth, nDstHeight, nInterpolationMode)

The DrawImageTransparency 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. Image handle of the image to draw into the native GdPicture image.
nTransparency Required. Long. Transparency to apply to the drawn image [0 ; 255]. 0 means full opacity and 255 full transparency.
nDstLeft Required. Long. Left pixel destination of the native GdPicture image.
nDstTop Required. Long. Top pixel destination of the native GdPicture image.
nDstWidth Required. Long. Width in pixel of the drawn image.
nDstHeight Required. Long. Height in pixel of the drawn image.
nInterpolationMode Optional. Long InterpolationMode. Default value is 3 (InterpolationModeBilinear).

Returns

Long. GdPictureStatus

Category

Draw (Images)





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.