VS:GetLineStyleChoice

From Vectorworks Developer
Revision as of 06:54, 30 December 2020 by CBM-c- (talk | contribs) (Transfer Orso to _c_)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Get current choice of line style popup dialog control. Choice is an index into list of linestyles available in current document.

PROCEDURE GetLineStyleChoice(
dialogID :LONGINT;
itemID :LONGINT;
VAR lineStyle :INTEGER);
def vs.GetLineStyleChoice(dialogID, itemID):
    return lineStyle

Parameters

dialogID LONGINT
itemID LONGINT
lineStyle INTEGER

Remarks

Get current choice of line style popup dialog control. Choice is an index into list of linestyles available in current document.

_c_ (2016.02.29): Returns a dash list index (not usable with VS:Index2Name).

Version

Availability: from VectorWorks 12.0