OneD Property [Visio 2003 SDK Documentation]
Determines whether an object behaves as a one-dimensional (1-D) object.
retVal = object**.OneD**
object**.OneD** = intExpression
retVal Integer. True(-1) if the shape is 1-D; False(0) if the shape is 2-D.
object Required. An expression that returns a Master or Shape object.
intExpression Required Integer. False (0) to declare object as 2-D; True (non-zero) to declare it as 1-D.
Version added
2.0
Remarks
Setting the OneD property is equivalent to changing a shape's interaction style in the Behavior dialog box (click Behavior on the Format menu). Setting the OneD property for a 1-D shape to False deletes its 1-D Endpoints section, even if the cells in that section were protected with the GUARD function.
You can get, but not set, the OneD property of a Master object.
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.
Applies to | Master object | Shape object