Inserts a new component before index in the Double Line Preferences.
FUNCTION InsertNewDLComponent(
beforeIndex : INTEGER;
widthDistance : REAL;
fill : LONGINT;
penWeightLeft : INTEGER;
penWeightRight : INTEGER;
penStyleLeft : INTEGER;
penStyleRight : INTEGER): BOOLEAN;def vs.InsertNewDLComponent(beforeIndex, widthDistance, fill, penWeightLeft, penWeightRight, penStyleLeft, penStyleRight):
return BOOLEAN| Name | Type | Description |
|---|---|---|
| beforeIndex | INTEGER | The index before which to insert the new component. |
| widthDistance | REAL | The width of the component. |
| fill | LONGINT | The fill of the component. Positive values for patterns, negative ref numbers for hatches. |
| penWeightLeft | INTEGER | The pen weight of the component's left line. |
| penWeightRight | INTEGER | The pen weight of the component's right line. |
| penStyleLeft | INTEGER | The pen style of the component's left line. Positive values for patterns, negative values for dash styles. |
| penStyleRight | INTEGER | The pen style of the component's right line. Positive values for patterns, negative values for dash styles. |
(6-27-06 CJG)
VS Functions: DeleteDLComponent
Availability: from VectorWorks12.5