Computes the total extent of a text for a specific font, similar to ComputeExtent(String, Int32%, Int32%)
Namespace: Skewworks.NETMFAssembly: 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 ) |
Return Value
Type: sizeReturns 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.