We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Draw text and lines in one page


I want to draw lines and text in one page according to the coordinates(x,y),
I used Section.Paragraphs.Add method ,but the text always writes on another page, and the position setting does not work, can Aspose do this?


Hi there,

We are sorry for the inconvenience caused. We will appreciate if you please share your sample code here, we will look into it and will guide you accordingly.

Best Regards,

Hi Jiang,

Thanks for contacting support.

When using Aspose.Pdf.Generator namespace, the contents are added in flow layout (Top-Left to Bottom-Right) and in case you have added a line element which occupies most of the page, then the subsequent element/object will be moved to next page i.e. Text object in your case.