public Class
A Constraint is a condition imposed on an element. Constraints are accessed through the Element Constraints collection
Associated table in .EAP file: t_objectconstraints
Constraint Attributes
Attribute |
Type |
Notes |
Name |
String |
Read/Write. The name of the constraint (i.e. the constraint). |
Type |
String |
Read/Write. Constraint type. |
Weight |
Long |
Read/Write. A weighting factor. |
Notes |
String |
Read/Write. Notes about the constraint. |
Status |
String |
Read/Write. Current status. |
ObjectType |
Read only. Distinguishes objects referenced through a Dispatch interface. |
|
ParentID |
Long |
Read only. The ElementID of the element to which this constraint applies. |
Constraint Methods
Method |
Type |
Notes |
Update () |
Boolean |
Update the current Constraint object after modification or appending a new item. If false is returned, check the GetLastError function for more information. |
GetLastError () |
String |
Returns a string value describing the most recent error that occurred in relation to this object. This function is rarely used since an exception is thrown when an error occurs. |