Syncfusion.Grid.Windows


The Input Text
Font style of the Text
Alignment Settings of the text
The Angle of Rotation of the Text
Vertical Resolution of the Text

GetRotatedTextBound Method

Measures the Height and width of the text.
Syntax
'Declaration
 
Public Shared Function GetRotatedTextBound( _
   ByVal text As String, _
   ByVal font As Font, _
   ByVal format As StringFormat, _
   ByVal rotation As Single, _
   ByVal dpiY As Single _
) As RectangleF
'Usage
 
Dim text As String
Dim font As Font
Dim format As StringFormat
Dim rotation As Single
Dim dpiY As Single
Dim value As RectangleF
 
value = GridStaticCellRenderer.GetRotatedTextBound(text, font, format, rotation, dpiY)
public static RectangleF GetRotatedTextBound( 
   string text,
   Font font,
   StringFormat format,
   float rotation,
   float dpiY
)

Parameters

text
The Input Text
font
Font style of the Text
format
Alignment Settings of the text
rotation
The Angle of Rotation of the Text
dpiY
Vertical Resolution of the Text
AssemblyVersion

Syncfusion.Grid.Windows: 18.2460.0.44

See Also