How to set the origin foracallout shape at a certain pixel coordi

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

In VBA, I want to be able to create a callout oval autoshape and "anchor" it
(I think the term is put the line origin) at a certian point whose x and y
coordinates, in pixels, are known to me.

I can generate the autoshape ok. In so doing I specify the top, left, width
and height in points. I think I can convert the xy coords of the place where
I want the line to orginate to in points, but what I can't figure out how to
compute the adjustments required to shift the origin. That is, how do I know
where the origin is when the shape is first constructed?

Furthermore, it appears that adjustments are given in terms of the width and
height of the original size of the object -- is that correct?

Any help for this out there?
 
Back
Top