We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

''Paragraph Indenting

Thread ID:





12795 Apr 12,2004 11:20 PM Apr 13,2004 03:30 AM Windows Forms 1
Tags: GridControl
Asked On April 12, 2004 11:20 PM

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

Administrator [Syncfusion]
Replied On April 13, 2004 03:30 AM

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 " +@"}";


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.