'Declaration
Public Overloads Function ClearImage( _ ByVal ImageID As Integer, _ ByVal Color As GdPictureColor _ ) As GdPictureStatus
public GdPictureStatus ClearImage( int ImageID, GdPictureColor Color )
public function ClearImage( ImageID: Integer; Color: GdPictureColor ): GdPictureStatus;
public function ClearImage( ImageID : int, Color : GdPictureColor ) : GdPictureStatus;
public: GdPictureStatus ClearImage( int ImageID, GdPictureColor Color )
public: GdPictureStatus ClearImage( int ImageID, GdPictureColor Color )
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the image in use.
- Color
- A required color object to be set as the new background color. Use the GdPictureImaging.ARGB method to obtain this value.
Return Value
A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.
We strongly recommend always checking this status first.