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
close icon

Is it possible to specify more line spacing between two different text lines in a paragragh

Is it possible to specify more line spacing between two different text lines(ex :few lines in Normal and few are italics) in a paragragh.
I have attached the screenshot of a file format that i want to generate through syncfusion DocIO.

Attachment: Screen_Shot_20170803_at_4.31.41_PM_3fdb7d4a.zip

1 Reply

MJ Mohanaselvam Jothi Syncfusion Team August 4, 2017 10:50 AM UTC

Hi Varadharajan,

Thank you for using Syncfusion products.

No, it is not possible to specify different line spacing between two different text lines in a paragraph because the line spacing option is for the entire paragraph. As a workaround, you can split the paragraph with italic text lines as another paragraph and line spacing for the split paragraph can set. We have prepared a sample based on your requirement which can be downloaded from following link.

Sample link:
http://www.syncfusion.com/downloads/support/forum/131921/ze/Sample1469894921.zip

Please refer the below UG documentation link to know more about paragraph formatting options:
 https://help.syncfusion.com/file-formats/docio/working-with-paragraph#applying-paragraph-formatting

please let us know if the provided sample fulfills your requirement.

Regards,
Mohanaselvam J


Loader.
Live Chat Icon For mobile
Up arrow icon