BrickGraphics.MeasureString Method

Name Parameters Description
MeasureString(String) text Measures the specified string when drawn.
MeasureString(String, Font) text, font Calculates the length of a specified text.
MeasureString(String, Font, Int32, StringFormat) text, font, width, stringFormat Calculates the length of a specified text.
MeasureString(String, Font, Int32, StringFormat, GraphicsUnit) static text, font, width, stringFormat, pageUnit Measures the height and width of the specified text string.
MeasureString(String, Int32) text, width Measures the specified string when drawn with the specified maximum width.
MeasureString(String, Int32, StringFormat) text, width, stringFormat Measures the specified string when drawn with the specified maximum width and format.