Computes the total extent of a text for a specific font, similar to ComputeExtent(String, Int32%, Int32%)

Namespace: Skewworks.NETMF
Assembly: Skewworks.NETMF.Core (in Skewworks.NETMF.Core.dll) Version: 2.5.0.0 (2.5.0.0)

Syntax

C#
public static size ComputeExtentEx(
	Font font,
	string value
)

Parameters

font
Type: Font
Font to use
value
Type: System..::..String
Value to compute extent for

Return Value

Type: size
Returns the total text extent in pixel of the given value

Remarks

A string containing multiple lines separated by an \n will be spitted and the extents of every line are summed up.

See Also