'Declaration
Public Overloads Function ConvertTo1Bpp( _ ByVal ImageID As Integer, _ ByVal Threshold As Byte _ ) As GdPictureStatus
public GdPictureStatus ConvertTo1Bpp( int ImageID, byte Threshold )
public function ConvertTo1Bpp( ImageID: Integer; Threshold: Byte ): GdPictureStatus;
public function ConvertTo1Bpp( ImageID : int, Threshold : byte ) : GdPictureStatus;
public: GdPictureStatus ConvertTo1Bpp( int ImageID, byte Threshold )
public: GdPictureStatus ConvertTo1Bpp( int ImageID, byte Threshold )
Parameters
- ImageID
- GdPicture image identifier.
- Threshold
- Value between [1 and 255]. Pixels values less than Threshold will be turned black, values equal to or larger till be turned white. If you do not know what to choose, select 160 which is the suggested value.
Return Value
A member of the GdPictureStatus enumeration.