[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.MeasureText

MeasureText Method

MeasureText(string, Size, TextFormat)

Draws formatted text in the specified rectangle.

Declaration
public Size MeasureText(string text, Size proposedSize, TextFormat format)
Parameters
Type Name Description
string text

The string that specifies the text to be drawn.

Size proposedSize

Contains the proposed size in which the text is to be formatted.

TextFormat format

Specifies the method of formatting the text.

Returns
Type Description
Size