Indesign CS4 - determine an objects center

Hi guys,

I can’t figure out how to get the center anchor coordinates of an item of a page in InDesign. I am able to generate the center for some items by subtracting the geometric bounds (x = item 4 - item 2, y = item 1 - item 3). However for graphics that are rotated that method doesn’t work. Is there some property that I am missing that would allow me to grab the center point that the object was rotated around?

Cheers!

Tom