Thanks for your continous support & service.
I am having a problem while formatting a paragraph.
The text in paragraph is formatted using HTML tags.
I am using Aspose Word version 188.8.131.52
Please refer attached word document containing the actaul problem.
If you observe the document carefully you will come to know that, the paragraph left,top & right spacing is applied only for the initial text. The paragraph formatting is not applied for the bulleted text & the paragraph after the bulleted text.
The sample code is as follows
private void button19_Click(object sender, EventArgs e)
string path = Path.GetDirectoryName(System.Windows.Forms.Application.ExecutablePath);
//Initialize Aspose license.
Aspose.Words.License lic = new Aspose.Words.License();
lic.SetLicense(path + @"\Aspose.Total.lic");
Aspose.Pdf.License lic1 = new Aspose.Pdf.License();
lic1.SetLicense(path + @"\Aspose.Total.lic");
Document doc = new Document();
DocumentBuilder documentBuilder = new DocumentBuilder(doc);
documentBuilder.ParagraphFormat.LeftIndent = 45;
documentBuilder.ParagraphFormat.RightIndent = 40;
documentBuilder.ParagraphFormat.SpaceBefore = 45;
documentBuilder.ParagraphFormat.SpaceAfter = 0;
string htmlText = "Now the company has released an ‘open source programming language’ for the developers and named it ‘Go’. It is an excellent news for the developers yet sources stated that the programming language is still in an experimental stage. Experts are conducting studies on it and one can expect the language to become better once it reaches the final stage.
In a blog post, Google officials have given an overview of the new programming language that is expected to benefit the developers. It has been stated that ‘Go’ is launched with the aim of combining C++, a compiled language, with another computer language called Python.";
1> Is there any workaround to solve this problem ?
Waiting for your reply,