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.
I see from other posts that it is not possible ResizeToFit a RichText cell (yet). Is it possible to extract the number of rows of text the cell contains?
Thank you.
ADAdministrator Syncfusion Team November 15, 2003 07:02 AM UTC
I don't really have a good suggestion for this.
You could do something crude like count \par's in the string, but this would just give you the hard breaks. To actually get the true count I think you would have to use interop with the win32 control. (If you own our source code, you can look at RichTextPaint.cs in Shared to see how the grid uses interop to paint the richtext.)