Skip to main content
daitranthanhoa
Inspiring
December 19, 2017
Question

How can get Bounds of Object if Parent Object was overflows?

  • December 19, 2017
  • 1 reply
  • 912 views

I have a Rectangle put inline a Cell of Table.

If Cell of Table was overflows, I get visibleBounds of Rectangle, it occur error: Invalid object for this request.

So to get visibleBounds of Rectangle, i have to cancel overflows of Cells.

If i not cancel overflows of Cell, Can i get Bounds of Rectangle?

This topic has been closed for replies.

1 reply

Trevor:
Legend
December 19, 2017

What bounds would you like the API to return, visible bounds? There' nothing visible that has bounds. Geometric bounds? it doesn't have any.

Inspiring
December 20, 2017

So there is no »official« way and no workaround to determine the dimensions of an anchored object/image, a table cell, etc. in the overflow?

Community Expert
December 20, 2017

Hi Tobias,

basically yes. There is no "official" way.

A workaround? Yes: Duplicate or move the desired object out of overflow.

Regards,
Uwe