SetTransparencyColorEx Method

See Also     Examples     Applies To

Sets a color as transparent into the native GdPicture image or into an area of the native GdPicture image defined by SetROI() function.
This function takes a percentage threshold parameter regarding the color to set as transparent.
Ie: A threshold value of 90 means that all the color which are near than 90% of the color parameter will be considered.

Syntax

object.SetTransparencyColorEx (nColorARGB, nThreshold)

The SetTransparencyColorEx syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nColorARGB Required. Long. Color to set as transparent: 32-bit Color (ARGB).
nThreshold Required. Single. percentage threshold between 0 and 100.

Returns

Long. GdPictureStatus

Category

Alpha Channel & Transparency





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.