'Declaration
Public Function DrawTextTextureFromGdPictureImage( _ ByVal ImageID As Integer, _ ByVal ImageTexture As Integer, _ ByVal Text As String, _ ByVal DstLeft As Integer, _ ByVal DstTop As Integer, _ ByVal FontSize As Single, _ ByVal FontStyle As GdPictureFontStyle, _ ByVal FontName As String, _ ByVal AntiAlias As Boolean _ ) As GdPictureStatus
public GdPictureStatus DrawTextTextureFromGdPictureImage( int ImageID, int ImageTexture, string Text, int DstLeft, int DstTop, float FontSize, GdPictureFontStyle FontStyle, string FontName, bool AntiAlias )
public function DrawTextTextureFromGdPictureImage( ImageID: Integer; ImageTexture: Integer; Text: String; DstLeft: Integer; DstTop: Integer; FontSize: Single; FontStyle: GdPictureFontStyle; FontName: String; AntiAlias: Boolean ): GdPictureStatus;
public function DrawTextTextureFromGdPictureImage( ImageID : int, ImageTexture : int, Text : String, DstLeft : int, DstTop : int, FontSize : float, FontStyle : GdPictureFontStyle, FontName : String, AntiAlias : boolean ) : GdPictureStatus;
public: GdPictureStatus DrawTextTextureFromGdPictureImage( int ImageID, int ImageTexture, string* Text, int DstLeft, int DstTop, float FontSize, GdPictureFontStyle FontStyle, string* FontName, bool AntiAlias )
public: GdPictureStatus DrawTextTextureFromGdPictureImage( int ImageID, int ImageTexture, String^ Text, int DstLeft, int DstTop, float FontSize, GdPictureFontStyle FontStyle, String^ FontName, bool AntiAlias )
Parameters
- ImageID
- GdPicture image identifier.
- ImageTexture
- GdPicture image identifier. Source image used for the texture.
- 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.
- 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.