Free Support Forum -

Floating box with multiple pages. How?

How can we use the floating box with multiple pages. Adding a dummy paragraph with isFirstParagraph does create a new page but the floating boxes only appear on the last page?

Hi,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for considering Aspose.

By default the FloatingBox is displayed over one page but in order to display it over repeating pages, you need to use IsNeedRepeating property of FloatingBox class and set its value to true. But, the attribute is only valid when the paragraph itself and the object to which its ReferenceParagraphID refers are both included in RepeatingRows.

FYI, FloatingBox is usually used when we need to place a paragraph in absolute positioning rather than page relative positioning. Can you please share some details regarding your actual requirement, may be I can share some better workaround for that.

We apologize for your inconvenience.