White space build up?

Hi, I generate a document from data as follows:



Dim textBody As Text = New Text(“Some Text”)

textBody.Margin.Top = 30

textBody.TextInfo.Alignment=AlignmentType.Left

textBody.TextInfo.FontName = “Times-Roman”

textBody.TextInfo.FontSize = 14

textBody.TextInfo.LineSpacing = 10

textBody.IsKeptWithNext = True



sec.Paragraphs.Add(textBody)



But when I generate a documents, the linespacing and the margins seems to change every now and again for different paragraphs.



And does not apear in the same place every time??



This is very confusing!



And seem to have happend after I added .IsKeptWithNext



Any help would be appreciated

Hi,

Thank you for considering Aspose.

I have not been able to reproduce the error that you specify. Can you please provide more detail. If you could send complete code and a sample output, that would really be helpful in tracking down the problem.

Thanks.

Adeel Ahmad
Support Developer
Aspose Changsha Team
http://www.aspose.com/Wiki/default.aspx/Aspose.Corporate/ContactChangsha.html