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.
Syncfusion Feedback

''Paragraph Indenting

Thread ID:

Created:

Updated:

Platform:

Replies:

12795 Apr 13,2004 03:20 AM UTC Apr 13,2004 07:30 AM UTC WinForms 1
loading
Tags: GridControl
Satish
Asked On April 13, 2004 03:20 AM UTC

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

CONFIRMATION

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.

Warning Icon 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.Close Icon

;