AD
Administrator
Syncfusion Team
October 26, 2006 10:06 AM UTC
Hi Gaurav,
There is no default property setting to paste a image in a cell. You need to set the CellType to InPlaceRichText and sets cellvalue to RTF text Or the SelectionCharOffset property of the RichTextBox to change the control appears on the baseline, as a superscript, or as a subscript below the baseline. Please refer the attached sample for more details and let me know if you looking something different.
this.gridControl1.TableStyle.CellValue = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}} \viewkind4\uc1\pard\f0\fs17 Syncfusion\up15 2\up0\par}";
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/PasteinRichTextInPlaceCellContol_d0d75dfc.zip
Best Regards,
Haneef