Re: A shape's arbitrary contour?
- From: "John Marshall, MVP" <lancucki@xxxxxxxxxxxxx>
- Date: Mon, 13 Mar 2006 12:16:28 -0500
The usual way for setting up multistate shapes is to create a seperate
geometry shape for the square, rhombus, rectangle, triangle and then
polygon. The noshow cell for each geometry section is used to determine if
the shape is displayed. The cell would contain a formula that compared the
value of a custom property to a fixed value. For a regular polygon, the
custom poperty can have a range of values. Say, if the custom property is
greater than 100, the shape is a regular polygon and (the custom property
value - 97) is the number of side. (triangle - 100, square - 101, pentagon -
102 etc). The number of lines in the geometry must match the maximum number
allowed. The length of the lines would be controlled by the custom property
and the excess lines would have a length of zero. For a triangle, the first
three line segments would have a value, but the rest of the line segments in
the geometry secition would have a length of zero, so that the end point
established by the first three line segments is not changed (and should
match the starting point.) In the Geometry section the last line is easy, it
just points to the starting point to close the shape.
John... Visio MVP
Need stencils or ideas? http://www.mvps.org/visio/3rdparty.htm
Need VBA examples? http://www.mvps.org/visio/VBA.htm
Common Visio Questions http://www.mvps.org/visio/common_questions.htm
Visio Wishlist http://www.mvps.org/visio/wish_list.htm
"Tiret Ohf D." <tiretohf@xxxxxxxxx> wrote in message
news:1142253082.842115.211210@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I know how to make a shape multistate. How can I allow user change the
shape's contour by his wish without adding Multistate specification?
Say "standart" view for a shape is square, but user wants to view his
shape as rhombus (then as rectangle, then as triangle or even as
polygon) without losing that initial square's properties?
Thanks.
--T.
.
- Follow-Ups:
- Re: A shape's arbitrary contour?
- From: Tiret Ohf D.
- Re: A shape's arbitrary contour?
- References:
- A shape's arbitrary contour?
- From: Tiret Ohf D.
- A shape's arbitrary contour?
- Prev by Date: Re: Getting Thumbnail
- Next by Date: Re: Custom "Properties" dialog
- Previous by thread: A shape's arbitrary contour?
- Next by thread: Re: A shape's arbitrary contour?
- Index(es):
Relevant Pages
|