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. Image for the cookie policy date

how to make a line break in a cell ?

in the header row , i''d like to make a line break . example : My Quantity | | v My Quantity how can i do ? Thxs

1 Reply

AD Administrator Syncfusion Team April 4, 2005 07:41 AM UTC

Hi, Please try using \n inserted at the place where you need the line break mySheet.Range["A1"].Text = "Hello\nWorld"; mySheet.Range["A1"].CellStyle.WrapText= true; Thanks, Stephen. >in the header row , i''d like to make a line break . example : > >My Quantity >| >| >v >My >Quantity > >how can i do ? > >Thxs

Loader.
Up arrow icon