make shape to fit the page

P

Pavel Yermolenko

Hello

For my project I developed new Border shape, inspired by one standard from
"Border and Titles" Visio 2003 stencil.

Standard stencil ("Border binder" in my case) fits perfecly the page format
when I put it on drawing A3, A4, etc.

My shape keep its dimension when I put it on page.

Why?

What property I should change in my shape (how) to fit the page?

Regards.

Pavel.
 
P

Paul Herber

Hello

For my project I developed new Border shape, inspired by one standard from
"Border and Titles" Visio 2003 stencil.

Standard stencil ("Border binder" in my case) fits perfecly the page format
when I put it on drawing A3, A4, etc.

My shape keep its dimension when I put it on page.

Why?

What property I should change in my shape (how) to fit the page?

Width = ThePage!PageWidth
Height = ThePage!PageHeight
 
P

pavel

Thank you Paul

You gave me good idea (using ShapeSheet), because I'm novice in Visio.
Finally the following changement suits prefectly what I expected:

EventDrop =
SETF(GetRef(Width),ThePage!PageWidth-4*User.PageMargin)+SETF(GetRef(Height),ThePage!PageHeight-4*User.PageMargin)+SETF(GetRef(PinX),ThePage!PageWidth*0.5)+SETF(GetRef(PinY),ThePage!PageHeight*0.5)+SETF("EventDrop",0)

I picked it out from standard shape.

Thank you one more time for your rapid answer that helped me.

Pavel.
 

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