Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.03 KB

GetLineStyleChoice.md

File metadata and controls

48 lines (37 loc) · 1.03 KB

GetLineStyleChoice

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

Name Type Description
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).

Examples

GetLineStyleChoice(1, 2, 3);
import vs

# Get current choice of line style popup dialog control.
dialogID = 1
itemID = 2

result = vs.GetLineStyleChoice(dialogID, itemID)

Version

Availability: from VectorWorks 12.0

Category