'Declaration
Public Function FxBlackNWhiteT( _ ByVal ImageID As Integer, _ ByVal Threshold As Byte _ ) As GdPictureStatus
public GdPictureStatus FxBlackNWhiteT( int ImageID, byte Threshold )
public function FxBlackNWhiteT( ImageID: Integer; Threshold: Byte ): GdPictureStatus;
public function FxBlackNWhiteT( ImageID : int, Threshold : byte ) : GdPictureStatus;
public: GdPictureStatus FxBlackNWhiteT( int ImageID, byte Threshold )
public: GdPictureStatus FxBlackNWhiteT( int ImageID, byte Threshold )
Parameters
- ImageID
- GdPicture image identifier.
- Threshold
- Value between [1 and 254] The default value is 128 which means '50%'.pixel lighter than 50% => become white, darker => become black.
Return Value
A member of the GdPictureStatus enumeration.