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

BestSizeEstimator.GetBoundsToFitText Method

Name Parameters Description
GetBoundsToFitText(XRLabel, String) static label, text Gets boundaries that fit the specified text within the specified control.
GetBoundsToFitText(XRLabel) static label Gets boundaries that fit an actual label text.
GetBoundsToFitText(String, BrickStyle, ReportUnit) static text, style, reportUnit Gets boundaries that fit the specified text with the specified style and system of measurement.
GetBoundsToFitText(String, BrickStyle, RectangleF, ReportUnit) static text, style, originalBounds, reportUnit Gets boundaries that fit the specified text with the specified style and system of measurement, and reside within the specified initial boundaries.
GetBoundsToFitText(String, BrickStyle, Single, Single) static text, style, maxWidth, dpi