Skip to main content

BrickGraphics.MeasureString Method

Name Parameters Description
MeasureString(String, DXFont, Int32, DXStringFormat, DXGraphicsUnit) static text, font, width, stringFormat, pageUnit Measures the specified string when drawn.
MeasureString(String, DXFont, Int32, DXStringFormat) text, font, width, stringFormat Measures the specified string when drawn.
MeasureString(String, DXFont) text, font 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, Font, Int32, StringFormat) text, font, width, stringFormat Calculates the length of a specified text.
MeasureString(String, Int32, DXStringFormat) text, width, stringFormat Measures the specified string when drawn.
MeasureString(String, Int32, StringFormat) text, width, stringFormat Measures the specified string when drawn with the specified maximum width and format.
MeasureString(String, Int32) text, width Measures the specified string when drawn with the specified maximum width.
MeasureString(String) text Measures the specified string when drawn.