Class LayoutUtils.MeasureTextCache
Inheritance
System.Object
LayoutUtils.MeasureTextCache
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll
Syntax
public sealed class MeasureTextCache
Constructors
MeasureTextCache()
Declaration
public MeasureTextCache()
Methods
GetTextSize(String, Font, Size, TextFormatFlags)
Declaration
public Size GetTextSize(string text, Font font, Size proposedConstraints, TextFormatFlags flags)
Parameters
System.String
text
|
System.Drawing.Font
font
|
System.Drawing.Size
proposedConstraints
|
System.Windows.Forms.TextFormatFlags
flags
|
Returns
System.Drawing.Size
|
InvalidateCache()
Declaration
public void InvalidateCache()
TextRequiresWordBreak(String, Font, Size, TextFormatFlags)
Declaration
public bool TextRequiresWordBreak(string text, Font font, Size size, TextFormatFlags flags)
Parameters
System.String
text
|
System.Drawing.Font
font
|
System.Drawing.Size
size
|
System.Windows.Forms.TextFormatFlags
flags
|
Returns
System.Boolean
|