Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
IGraphics..::..MeasureText Method (String, Int32, Int32%)
IGraphics Interface See Also Send Feedback

Measures graphical size of the a text within the specified clipping width.

Namespace: Sgry.Azuki
Assembly: 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: Size
size of the text in the graphic device context

# See Also

IGraphics Interface
IGraphics..::..IGraphics Members
MeasureText Overload
Sgry.Azuki Namespace