SwapColor Method

See Also     Examples     Applies To

Replaces one color by another into the native GdPicture image or into an area of the native GdPicture image defined by SetROI() function.

Syntax

object.SwapColor (nARGBColorSrc, nARGBColorDst)

The SwapColor syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nARGBColorSrc Required. Long. Color to replace (as ARGB long value).
nARGBColorDst Required. Long. Color of replacement (as ARGB long value).

Returns

Long. GdPictureStatus

Category

Color Filters & Adjustments





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.