Free Support Forum -

How can I make floatingbox nested in table cell

I’m migrating my application from Generator API to DOM API, and I found I can’t make the FloatingBox works correctly.
I my past implement, I use FloatingBox with

box.BoxHorizontalPositioning = Aspose.Pdf.Generator.BoxHorizontalPositioningType.Column;
box.BoxVerticalPositioning = Aspose.Pdf.Generator.BoxVerticalPositioningType.Paragraph;

and then I set box.left and, the coordinate will based on the table cell, but in DOM api, I don’t have BoxHorizontalPositioningType and BoxVerticalPositioningType and the left and top is always based on page, so all floating boxes is on attached to page left top corner but table cells.

The new implementation (cell is marked with color)
EvidenceLabels_20180628151734.pdf (256 KB)

The order implementation
EvidenceLabels_20180628144633.pdf (15.2 KB)


Please send us the input PDF document and the complete code. We will investigate your scenario in our environment, and share our findings with you. Your response is awaited.