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

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top