Can I place 2 master objects of a Stencil at the same x,y position

G

Gary

I have created 2 or more master objects on a stencil. I want to place each
of the master objects from the stencil on a visio document at a given x,y
position. I wrote VBA code to adjust the x, y for the first object to line
up. It is not the same adjustment for the 2nd master object.

Can I adjust the creation of these master objects so that I can use a
constant x,y adjustment so I can place all these master object at the same
x,y position???

I would appreciate any suggestions.

Thank You,

Gary
 
P

Paul Herber

I have created 2 or more master objects on a stencil. I want to place each
of the master objects from the stencil on a visio document at a given x,y
position. I wrote VBA code to adjust the x, y for the first object to line
up. It is not the same adjustment for the 2nd master object.

Can I adjust the creation of these master objects so that I can use a
constant x,y adjustment so I can place all these master object at the same
x,y position???

Cells LocPinX and LocPinY determine the coordinates of the shape that
align with the shape's PinX and PinY.
Hence, when setting the shape's X and Y if you want this location to
be the shape's bottom left hand corner then set LocPinX and LocPinY to
0.
 
G

Gary

I have been trying to figure how to set the LocPinX and LocPinY cell.

I have a master object on a stencil, and I open the stencil using Visio and
selected the object and rt. click the object and select view and size &
position. I don't see the LocPinX and LocPinY, but I do see the PinX and
PinY. I changed this to 0 and 0. When I tried placing this master object
on my visio doc, there was not displacement change.

In the MS Knowledge base, I notice a Shape Transform windows which has the
LocPosX and LocPosY, but I can't find it in my visio appliciation when I open
the stencil up.

I am using 2003 Visio standard with sp2.

Can Someone Please help.

Thanks,

Gary
 
P

Paul Herber

Select the shape, then from the menu select Window -> Show ShapeSheet
LocPinX and LocPinY are in the first section.
 

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