'Declaration
Public Overloads Function DrawGdPictureImageTransparencyColor( _ ByVal SrcImage As Integer, _ ByVal DstImage As Integer, _ ByVal TransparentColor As Color, _ ByVal Threshold As Single, _ ByVal DstLeft As Integer, _ ByVal DstTop As Integer, _ ByVal DstWidth As Integer, _ ByVal DstHeight As Integer, _ ByVal InterpolationMode As InterpolationMode _ ) As GdPictureStatus
public GdPictureStatus DrawGdPictureImageTransparencyColor( int SrcImage, int DstImage, Color TransparentColor, float Threshold, int DstLeft, int DstTop, int DstWidth, int DstHeight, InterpolationMode InterpolationMode )
public function DrawGdPictureImageTransparencyColor( SrcImage: Integer; DstImage: Integer; TransparentColor: Color; Threshold: Single; DstLeft: Integer; DstTop: Integer; DstWidth: Integer; DstHeight: Integer; InterpolationMode: InterpolationMode ): GdPictureStatus;
public function DrawGdPictureImageTransparencyColor( SrcImage : int, DstImage : int, TransparentColor : Color, Threshold : float, DstLeft : int, DstTop : int, DstWidth : int, DstHeight : int, InterpolationMode : InterpolationMode ) : GdPictureStatus;
public: GdPictureStatus DrawGdPictureImageTransparencyColor( int SrcImage, int DstImage, Color TransparentColor, float Threshold, int DstLeft, int DstTop, int DstWidth, int DstHeight, InterpolationMode InterpolationMode )
public: GdPictureStatus DrawGdPictureImageTransparencyColor( int SrcImage, int DstImage, Color TransparentColor, float Threshold, int DstLeft, int DstTop, int DstWidth, int DstHeight, InterpolationMode InterpolationMode )
Parameters
- SrcImage
- GdPicture image identifier. Specifies the image to be drawn from.
- DstImage
- GdPicture image identifier. specifies the image to draw to.
- TransparentColor
- The color to set as transparent. A suitable color value can be obtained by using the ARGB() method.
- Threshold
- Percentage threshold between 0 and 100.
- DstLeft
- Specifies the x-coordinate in pixels of the upper-left corner of the destination rectangle at which to draw the image.
- DstTop
- Specifies the y-coordinate in pixels of the upper-left corner of the destination rectangle at which to draw the image.
- DstWidth
- Specifies the width, in pixels, of the destination rectangle at which to draw the image.
- DstHeight
- Specifies the height, in pixels, of the destination rectangle at which to draw the image.
- InterpolationMode
- A member of the Drawing2D.InterpolationMode enumeration.
Return Value
A member of the GdPictureStatus enumeration.