Free Support Forum - aspose.com

Unwanted Page Break in PDF

Hi,

I have an issue where the if an element gets bigger than the page height, the whole element would move into the next page.

img.png (21.5 KB)

I need a resolution for this one… Thanks

@gayan1991,

Can you please share source files along with generated result and sample code so that we may further investigate to help you out.

@Adnan.Ahmad

Here is the file

body.zip (109.8 KB)

@gayan1991,

Can you please share source code with us for further investigation.

@Adnan.Ahmad I have attched the c# code as well. I want this to be both portrai & landscape mode as well.
source.zip (1.4 KB)

@gayan1991

Can you please share your desired result with us so that we may further investigate to help you out.

@Adnan.Ahmad As you can see in my first message. You will be able to see the actual result. Anyway I have attached actual and desired results. Please try to provide solution for this issue ASAP as I need to deliver this implementation.

actual_img.png (25.2 KB)
desired_img.PNG (122.5 KB)

@gayan1991,

We have logged an investigation ticket as HTMLNET-2391 in our issue tracking system. We will further investigate the scenario in details and keep you posted with the status of ticket resolution. Please spare us little time.

We are sorry for the inconvenience.