[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.DeviceContexts.DeviceContext.TextExtent

TextExtent Method

TextExtent(string)

Computes the width and height of the specified string of text.

Declaration
public Size TextExtent(string text)
Public Function TextExtent(text As String) As Size
Parameters
Type Name Description
string text

A string that saves a character string to be computed.

Returns
Type Description
Size

If the function succeeds, the return value is the dimensions of the string in logical units.