Copies the properties of one object (the source object) to another object (the target object).
Syntax
pd.EditDragProperties ()
pd.EditDragProperties (theElement1, theElement2, height, width, x, y, nameOrCaption, parameterConstraints, parameterPosition, font, parameterFont, penWidth, curvature, colors, visibility)
pd.EditDragProperties (elementNumber1, elementNumber2, height, width, x, y, nameOrCaption, parameterConstraints, parameterPosition, font, parameterFont, penWidth, curvature, colors, visibility)
pd.EditDragProperties (variableName1, variableName2, height, width, x, y, nameOrCaption, parameterConstraints, parameterPosition, font, parameterFont, penWidth, curvature, colors, visibility)
The EditDragProperties method syntax has the following parts:
Part |
Description |
theElement1 theElement2 |
(Objects of type PDElement.) Properties are copied from theElement1 to theElement2. |
elementNumber1 elementNumber2 |
(Integers) Properties are copied from object number elementNumber1 to object number elementNumber2. (Objects in the path diagram are numbered starting with 1.) |
variableName1 variableName2 |
(Strings) Properties are copied from the variable named variableName1 to the variable named variableName1. |
height |
Optional. True if the source object's height is to be copied. |
width |
Optional. True if the source object's width is to be copied. |
x |
Optional. True if the source object's x (horizontal) coordinate is to be copied. |
y |
Optional. True if the source object's y (vertical) coordinate is to be copied. |
nameOrCaption |
Optional. True if the source object's name (in the case of a rectangle or ellipse) or caption (in the case of a figure caption) is to be copied. |
parameterConstraints |
Optional. True if the source object's parameter constraints are to be copied. |
parameterPosition |
Optional. True if the source object's parameter position is to be copied. |
font |
Optional. True if the source object's name or caption font is to be copied. |
parameterFont |
Optional. True if the source object's parameter font is to be copied. |
penWidth |
Optional. True if the source object's pen width is to be copied. |
curvature |
Optional. True if the source object's curvature is to be copied. |
colors |
Optional. True if the source object's colors are to be copied. |
visibility |
Optional. True if the source object's visibility properties are to be copied. |
Calling EditDragProperties with no arguments is equivalent to the menu selection Edit → Drag Properties.