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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to setup a paragraph spacing

Thread ID:

Created:

Updated:

Platform:

Replies:

69072 Oct 12,2007 06:38 AM UTC Oct 20,2007 06:39 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
William Wuang
Asked On October 12, 2007 06:38 AM UTC

dear sir ,
I want to format paragraph with other property like spacing. And I don't know how to do it . I can do it easily on office word . How should I do , or does DocIO suport this function ?

ParagraphSpacing.zip

Administrator [Syncfusion]
Replied On October 20, 2007 06:39 AM UTC

Hi William,

Sorry for the delayed response.

Yes , Essential DocIO has support for formatting paragraphs in a document with which the look and feel of the paragraph as well its relative positioning, with respect to adjacent paragraphs, can be modified.

Paragraph spacing
>>>>>>>>>>>>>>>>>>

You can setup paragraph spacing by accessing 'ParagraphFormat'. The following code snippet illustartes this.

[C#]

paragraph.ParagraphFormat.AfterSpacing = 10;
paragraph.ParagraphFormat.BeforeSpacing= 10;
paragraph.ParagraphFormat.LineSpacing = 2;
paragraph.ParagraphFormat.LineSpacingRule = LineSpacingRule.Multiple;

You can also refer the sample that shipped with Essential studio that demonstartes on paragraph formatting in the below location.

[Installdrive]:\Documents and Settings\Username\My Documents\Syncfusion\ EssentialStudio\5.2.0.25\Windows\DocIO.Windows \Samples\2.0\Document Formatting\ParagraphFormatting\

Please let me know if you have any other queries.

Thank you for your interest in Syncfusion products.

Regards,
Jaya

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

;