DrFont.GetTextWidthPoints

GetTextWidthPoints(string)

Gets the text width points.

public float GetTextWidthPoints(string text)
ParameterTypeDescription
textStringThe text to calculate.

Return Value

Returns width

See Also


GetTextWidthPoints(string, int, int)

Gets the text width points.

public float GetTextWidthPoints(string text, int startIndex, int charCount)
ParameterTypeDescription
textStringThe text to calculate.
startIndexInt32The start index.
charCountInt32The char count.

Return Value

Returns width

See Also