Syncfusion.Grid.Windows


Graphical Parameter
THe text to be rotated
The font Style of the text
The brush used to draw the text
The text rectangle
the format that holds different alignment settings
The angle at which the text is rotated
Used to store all the information of the cell

DrawRotatedString Method (GridStaticCellRenderer)

Draws the text at the specified angle.
Syntax
'Declaration
 
Public Shared Sub DrawRotatedString( _
   ByVal g As Graphics, _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal br As Brush, _
   ByVal rect As RectangleF, _
   ByVal format As StringFormat, _
   ByVal angle As Single, _
   ByVal style As GridStyleInfo _
) 
'Usage
 
Dim g As Graphics
Dim text As String
Dim font As Font
Dim br As Brush
Dim rect As RectangleF
Dim format As StringFormat
Dim angle As Single
Dim style As GridStyleInfo
 
GridStaticCellRenderer.DrawRotatedString(g, text, font, br, rect, format, angle, style)
public static void DrawRotatedString( 
   Graphics g,
   string text,
   Font font,
   Brush br,
   RectangleF rect,
   StringFormat format,
   float angle,
   GridStyleInfo style
)

Parameters

g
Graphical Parameter
text
THe text to be rotated
font
The font Style of the text
br
The brush used to draw the text
rect
The text rectangle
format
the format that holds different alignment settings
angle
The angle at which the text is rotated
style
Used to store all the information of the cell
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also