Back to Devexpress

AppearanceObject.CalcTextSize Method

windowsforms-devexpress-dot-utils-dot-appearanceobject-dot-calctextsize.md

latest4.1 KB
Original Source

AppearanceObject.CalcTextSize Method

NameParametersDescription
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32, out Boolean)cache, sf, s, width, height, isCroppedCalculates the string size.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32)cache, sf, s, width, heightCalculates the string size.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32)cache, sf, s, widthCalculates the string size.
CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32, out Boolean)cache, sf, s, width, height, isCroppedCalculates the string size.
CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32)cache, sf, s, width, heightCalculates the string size.
CalcTextSize(GraphicsCache, StringFormat, String, Int32)cache, sf, s, widthCalculates the size of the specified string drawn with the specified StringFormat object.
CalcTextSize(GraphicsCache, String, Int32)cache, s, widthCalculates the size of the specified string.
CalcTextSize(Graphics, StringFormatInfo, String, Int32)g, sf, s, widthCalculates the size of the specified string drawn with the specified StringFormat object.
CalcTextSize(Graphics, StringFormat, String, Int32, Int32, out Boolean)g, sf, s, width, height, isCroppedCalculates the size of the specified string when it’s drawn with the specified font, fitting the string into a clipping rectangle. Allows you to determine whether the string does not fit the clipping rectangle.
CalcTextSize(Graphics, StringFormat, String, Int32, Int32)g, sf, s, width, heightCalculates the size of the specified string drawn with the specified format, fitting the string into a clipping rectangle.
CalcTextSize(Graphics, StringFormat, String, Int32)g, sf, s, widthCalculates the size of the specified string drawn with the specified StringFormat object.
CalcTextSize(Graphics, String, Int32)g, s, widthCalculates the size of the specified string.