Draws a rotated text on a GdPicture image.
public GdPictureStatus DrawRotatedText( int ImageID, Single Angle, String Text, int DstLeft, int DstTop, Single FontSize, FontStyle FontStyle, Color TextColor, String FontName, Boolean AntiAlias );
Public Function DrawRotatedText( ByVal ImageID As Integer, ByVal Angle As Single, 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 FontName As String, ByVal AntiAlias As Boolean ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
Angle |
Angle of rotation in degrees. |
|
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() function. |
|
FontStyle |
A member of the FontStyle enumeration. |
|
TextColor |
Color Object. You can build a Color Object using the ARGB() function. Color of the text. |
|
FontName |
The name of the font. IE: "Arial" |
|
AntiAlias |
Set to True to apply the Antialiasing algorithm else False. |
A member of the GdPictureStatus enumeration.
To draw watermark text use an ARGB value with alpha component < 255.
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|