'Declaration
Public Overloads Function DrawTextBackColor( _ ByVal ImageID As Integer, _ ByVal Text As String, _ ByVal DstLeft As Integer, _ ByVal DstTop As Integer, _ ByVal FontSize As Single, _ ByVal FontStyle As FontStyle, _ ByVal TextColor As Color, _ ByVal BackColor As Color, _ ByVal FontName As String, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawTextBackColor( int ImageID, string Text, int DstLeft, int DstTop, float FontSize, FontStyle FontStyle, Color TextColor, Color BackColor, string FontName, bool AntiAlias )
public function DrawTextBackColor( ImageID: Integer; Text: String; DstLeft: Integer; DstTop: Integer; FontSize: Single; FontStyle: FontStyle; TextColor: Color; BackColor: Color; FontName: String; AntiAlias: Boolean ): GdPictureStatus;
public function DrawTextBackColor( ImageID : int, Text : String, DstLeft : int, DstTop : int, FontSize : float, FontStyle : FontStyle, TextColor : Color, BackColor : Color, FontName : String, AntiAlias : boolean ) : GdPictureStatus;
Parameters
- ImageID
- GdPicture image identifier.
- Text
- Text to draw.
- DstLeft
- Specifies the x-coordinate of the upper-left corner of the rectangle that bounds the.
- DstTop
- Specifies the y-coordinate of the upper-left corner of the rectangle that bounds the.
- FontSize
- The font size in units specified by the FontSetUnit() method.
- FontStyle
- A member of the FontStyle enumeration.
- TextColor
- Color of the text. A suitable color value can be obtained by using the ARGB() method.
- BackColor
- Color of the background. A suitable color value can be obtained by using the ARGB() method.
- FontName
- The name of the font. IE: "Arial".
- AntiAlias
- Set to True to apply the Antialiasing algorithm else False.
Return Value
A member of the GdPictureStatus enumeration.