FxBlackNWhiteT Method

See Also     Examples     Applies To

Performs black & white effect into the native GdPicture image or into an area of the native GdPicture image defined by SetROI() function using a specific threshold value.

Syntax

object.FxBlackNWhiteT (nThreshold)

The FxBlackNWhiteT syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
nThreshold Required. Long. Value between [1 and 254] The default value is 128 which means '50%'.
pixel lighter than 50% => become white, darker => become black.

Returns

Long. GdPictureStatus

Category

Effects and Filters





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.