I would find it beneficial if there was a auto-size feature for XRLabel controls. I am creating sign labels and would like to have the text be as large as possible for the given XRLabel size.
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Hi Kory,
Thank you for contacting us. To accomplish this task, you can set the XRLabel's XRControl.CanGrow Property and XRControl.CanShrink Property to True.
In this case, label size will be adjusted according to the label's content.
Thanks,
Sergi
I would like the label to be a specific size because I have a small amount of room to work with and there are several labels. I would like just the size of the font to change.
Hi Kory,
Thank you for your clarification. I will forward this issue to our R&D team and we will keep you informed of our progress over this issue. Please accept our apologies for any possible delay.
Thanks,
Sergi
Hi Kory,
We have examined this issue and come to the conclusion that this functionality can be implemented manually by using the MeasureString method. For instance, please check the following link: C# Tutorial - Font Scaling.
We look forward to your feedback once you have had the opportunity to try this approach.
Thanks,
Sergi