Control

Control class

Contains elements for the x- and y-coordinates of each control handle defined for a shape, and elements that specify the way the control handle should behave.

Control()

Constructor.

Properties

NameTypeDescription
NameStringThe name of the element.
NameUStringThe universal name of the element.
IDintThe unique ID of the element within its parent element.
IXintThe zero-based index of the element within its parent element.
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
XDoubleValueThe x-coordinate that indicates the location of a shape’s control handle.
YDoubleValueThe y-coordinate that indicates the location of a shape’s control handle.
XDynDoubleValueSpecifies the x-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber
YDynDoubleValueSpecifies the y-coordinate for a control handle’s anchor point in local coordinates. The anchor point is used for rubber
XConConTypeSpecifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
YConConTypeSpecifies the type of behavior the x-coordinate of the control handle exhibits after the handle is moved.
CanGlueBoolValueDetermines whether a control handle can be glued to other shapes.
PromptStr2ValuePrompt element specifies descriptive text that appears as a tool tip when the mouse pointer is paused over a shape’s con

Methods

NameDescription
deepCloneCreates deep copy of this instance.