Skip to main content
A newer version of this page is available. .

BestSizeEstimator Methods

Enables you to find optimal boundaries to fit the text, and vice versa, get a font to fit the specified boundaries.
Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetBoundsToFitContainer(XRControl) static Gets boundaries for the specified control to fit its parent container.
GetBoundsToFitText(XRLabel, String) static Gets boundaries that fit the specified text within the specified control.
GetBoundsToFitText(XRLabel) static Gets boundaries that fit an actual label text.
GetBoundsToFitText(String, BrickStyle, ReportUnit) static Gets boundaries that fit the specified text with the specified style and system of measurement.
GetBoundsToFitText(String, BrickStyle, RectangleF, ReportUnit) static Gets boundaries that fit the specified text with the specified style and system of measurement, and reside within the specified initial boundaries.
GetFontToFitBounds(XRLabel, String) static Gets the font with which the specified text fits the specified label’s boundaries.
GetFontToFitBounds(XRLabel) static Gets the font with which the label actual text fits its boundaries.
GetFontToFitBounds(String, BrickStyle, RectangleF, ReportUnit) static Gets the font with which the specified text fits the specified boundaries.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also