VS:SetComponentPenColors
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
Description
Sets the colors of the pens of a component in an object.
FUNCTION SetComponentPenColors(
obj :HANDLE;
componentIndex :INTEGER;
leftPenForeColor :INTEGER;
leftPenBackColor :INTEGER;
rightPenForeColor :INTEGER;
rightPenBackColor :INTEGER) : BOOLEAN;
def vs.SetComponentPenColors(obj, componentIndex, leftPenForeColor, leftPenBackColor, rightPenForeColor, rightPenBackColor): return BOOLEAN
Parameters
obj HANDLE The object. Can be a wall, round wall, slab, Wall Style, Slab Style, the Wall Preferences, or the Slab Preferences. componentIndex INTEGER The index of the component. leftPenForeColor INTEGER The fore color of the left pen. leftPenBackColor INTEGER The back color of the left pen. rightPenForeColor INTEGER The fore color of the right pen. rightPenBackColor INTEGER The back color of the right pen.
Version
Availability: from VectorWorks 2008
See Also
VS Functions:
VS Functions:
[[VS:GetComponentPenColors]]