AppearanceObject.CalcTextSize Method

Name Parameters Description
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32) cache, sf, s, width Calculates the string size.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32) cache, sf, s, width, height Calculates the string size.
CalcTextSize(GraphicsCache, StringFormatInfo, String, Int32, Int32, out Boolean) cache, sf, s, width, height, isCropped Calculates the string size.
CalcTextSize(GraphicsCache, StringFormat, String, Int32) cache, sf, s, width Calculates the size of the specified string drawn with the specified StringFormat object.
CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32) cache, sf, s, width, height Calculates the string size.
CalcTextSize(GraphicsCache, StringFormat, String, Int32, Int32, out Boolean) cache, sf, s, width, height, isCropped Calculates the string size.
CalcTextSize(GraphicsCache, String, Int32) cache, s, width Calculates the size of the specified string.
CalcTextSize(Graphics, StringFormatInfo, String, Int32) g, sf, s, width Calculates the size of the specified string drawn with the specified StringFormat object.
CalcTextSize(Graphics, StringFormat, String, Int32) g, sf, s, width Calculates the size of the specified string drawn with the specified StringFormat object.
CalcTextSize(Graphics, StringFormat, String, Int32, Int32) g, sf, s, width, height Calculates the size of the specified string drawn with the specified format, fitting the string into a clipping rectangle.
CalcTextSize(Graphics, StringFormat, String, Int32, Int32, out Boolean) g, sf, s, width, height, isCropped Calculates 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, String, Int32) g, s, width Calculates the size of the specified string.