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.
Hi there,
Is it possible to add the ''Paragraph Indenting'' facility to the Rich Text Box for each cell. If yes, how?
Please post the sample code.
Thanks
satish
ADAdministrator Syncfusion Team April 13, 2004 07:30 AM UTC
You can do this. You would have to add some kind of UI code that inserts \par rtf tags in your text where you want the indent to occur.
If you just want to create indented rich text and display it with paragraph indents, then you can just create the text in WordPad, save the file, open it in NotePad and copy the RTF text. Here is some text created in that manner that will display indented in a grid cell.
string rtf =
@"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}"
+@"\viewkind4\uc1\pard\fi720\ri1620\f0\fs20 Please check out Syncfusion products. They include Essential Grid, "
+@"Essential Tools, Essential ExcelRW, Essential Edit, Esssential Chart, and Essential Diagram. They are all native"
+@".Net code. You can find more information on our website at www.syncfusion.com.\par "
+@"You can also use our Direct Trac support system to log incidents, an dget email noticification of updates. Our "
+@"forum provide an online community for user questions and responses.\par "
+@"}";