Measures graphical size of the a text within the specified clipping width.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
Size MeasureText( string text, int clipWidth, out int drawableLength ) |
Visual Basic |
---|
Function MeasureText ( text As String, clipWidth As Integer, <OutAttribute> ByRef drawableLength As Integer ) As Size |
Parameters
- text
- Type: System..::..String
text to measure
- clipWidth
- Type: System..::..Int32
width of the clipping area for rendering text (in pixel unit if the context is screen)
- drawableLength
- Type: System..::..Int32%
count of characters which could be drawn within the clipping area width
Return Value
Type: Sizesize of the text in the graphic device context