Getting dimensions of placed graphic in InDesign

In InDesign, I know I can get the bounds of a image box by using


set foo to geometric bounds of rectangle "myFrame" of page 1

but how would I find out the height and width of a graphic placed inside this image box?

Hi,

does this work?


set foo to geometric bounds of graphic "myGraphic" of rectangle "myFrame" of page 1