Edit

Share via


Shape.OneD property (Visio)

Determines whether an object behaves as a one-dimensional (1D) object. Read/write.

Syntax

expression. OneD

expression A variable that represents a Shape object.

Return value

Integer

Remarks

Setting the OneD property is equivalent to changing a shape's interaction style in the Behavior dialog box (click Behavior in the Shape Design group of the Developer tab). Setting the OneD property for a 1D shape to False deletes its 1D Endpoints section, even if the cells in that section were protected with the GUARD function.

The OneD property of a Shape object that is a guide is always 0. If you try to change the value of the OneD property of a guide shape, no error is raised, but the value remains 0.

The OneD property of an object from another application is always False.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.