The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hello,
I would like to achieve the following:
When label.Anchor = MiddleLeft then the label should "grow" to the left, as text is added.
When label.Anchor = MiddleRight then the label should "grow" to the right, as text is added.
I.e. the symbol is never obscured by the label.
Is there an "easy" way to do this, i.e. just via label properties?
Or do I have to dynamically calculate the label offset based on it''s length (OK this is probably not that hard)?
I tried playing with Horizontal Alignment, but it doesn''t help, and after looking in the knowledge base I think I know why (the label anchor is the center of the label).
Solved it myself by dynamically calculating the Label.OffsetX value. This works OK, but now I have a different problem, I''ll post it separately.
ADAdministrator Syncfusion Team August 30, 2005 06:13 PM UTC
Hi Richard,
Your suggestion to expand SymbolLabels by repositioning them based on their alignment relative to the symbol''s centerline sounds perfectly logical to me. I will go ahead and file this as a feature request, and we will revise the functionality in a future version of the product. Per our support policy, while we cannot guarantee a turnaround time on the implementation, please be assured that we will do our best to accomodate the request in a timely manner.
Thank you for having brought this issue to our attention.
Regards,
Prakash Surendra
Syncfusion Inc.,