Gets the pen styles of a component in an object.
FUNCTION GetCompPenStylesN(
object : HANDLE;
componentIndex : INTEGER;
VAR leftPenStyle : LONGINT;
VAR rightPenStyle : LONGINT): BOOLEAN;def vs.GetCompPenStylesN(object, componentIndex):
return (BOOLEAN, leftPenStyle, rightPenStyle)| Name | Type | Description |
|---|---|---|
| object | HANDLE | The object. Can be a wall, round wall, slab, roof face, roof, Wall Style, Slab Style, Roof Style, the Wall Preferences, the Slab Preferences, or the Roof Preferences. |
| componentIndex | INTEGER | The index of the component. |
| leftPenStyle | LONGINT | Returns the left pen style of the component. |
| rightPenStyle | LONGINT | Returns the right pen style of the component. |
VS Functions: SetCompPenStylesN
Availability: from Vectorworks 2016