Microsoft KB Archive/279278

= Visio2000: ShapeSheet: Information About the Shape Transform Section =

Article ID: 279278

Article Last Modified on 1/29/2007

-

APPLIES TO


 * Microsoft Visio 2000 Standard Edition
 * Microsoft Visio 2000 Professional Edition
 * Microsoft Visio 2000 Technical Edition
 * Microsoft Visio 2000 Enterprise Edition

-



This article was previously published under Q279278



SUMMARY
Every Microsoft Visio shape is described in its own ShapeSheet spreadsheet, which contains information about the shape's geometry and its other properties.

This article contains information about how to use the Shape Transform section, and shows you a sample formula that you can use in the Shape Transform section.

To display the ShapeSheet of a shape, select the shape, and then click Show ShapeSheet on the Window menu. You can also enable developer mode to have right-click access to the Show ShapeSheet command. To have right-click access to the Show ShapeSheet command, follow these steps:


 * 1) On the Tools menu, click Options, and then click the Advanced tab.
 * 2) Click to select the Run in developer mode check box.
 * 3) Click OK.

Right-click any shape, and note that the shortcut menu now contains the Show ShapeSheet command.



MORE INFORMATION
The Shape Transform section determines the width and the height of a shape, its position, and its orientation relative to its parent. What follows is a detailed explanation of each section of the Shape Transform section:

Width and Height - Constants in page coordinates.

Angle - Angle of rotation, where original X-axis is 0 (Zero) degrees.

PinX - X ordinate of Pin relative to the shape's parent (group or page).

PinY - Y ordinate of Pin relative to the shape's parent.

NOTE: The pin is expressed in the coordinate system of the shape's parent.

LocPinX - X ordinate of Pin relative to the shape.

LocPinY - Y ordinate of Pin relative to the shape.

NOTE: The local pin is expressed in the coordinate system of the shape.

FlipX - Toggle (1 or 0) indicating whether the shape has been flipped in X.

FlipY - Toggle (1 or 0) indicating whether the shape has been flipped in Y.

Resize Mode - Resize behavior (0, 1, or 2). Relevant only if a shape is in a group.

The following example shows you how to use the Shape Transform section to make an inserted object expand vertically when multiple lines of text are inserted inside.


 * 1) Draw a rectangle on the drawing.
 * 2) Right-click the rectangle, and then click Show ShapeSheet.
 * 3) In the Shape Transform section, enter the following formula in the Height section:

=GUARD(TEXTHEIGHT(TheText,Width))

The Shape Transform section also contains directions for controlling the Pin. The Pin is the point around which a shape is rotated and flipped. The Pin in Visio is equivalent to the &quot;insertion point&quot; or &quot;reference point&quot; for CAD users. The mouse position at which you &quot;drop&quot; the master becomes the Pin position of the new shape.

If you move the shape, it changes the Pin values in the ShapeSheet. Moving the Pin itself relative to the shape changes the LocPin (X and Y) values.

Additional query words: shape sheet expand text

Keywords: kbinfo KB279278

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.