Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AppearanceObject.CalcTextSizeInt Method

Name Parameters Description
CalcTextSizeInt(GraphicsCache, StringFormatInfo, String, Int32) cache, sf, s, width Calculates the length of the specified string drawn with the specified formatting.
CalcTextSizeInt(GraphicsCache, StringFormat, String, Int32) cache, sf, s, width Calculates the length of the specified string drawn with the specified StringFormat object.
CalcTextSizeInt(GraphicsCache, String, Int32) cache, s, width Calculates the length of the specified string.
CalcTextSizeInt(Graphics, StringFormatInfo, String, Int32) g, sf, s, width Calculates the length of the specified string drawn with the specified formatting.
CalcTextSizeInt(Graphics, StringFormat, String, Int32) g, sf, s, width Calculates the length of the specified string drawn with the specified StringFormat object.
CalcTextSizeInt(Graphics, String, Int32) g, s, width Calculates the length of the specified string.