Click or drag to resize

DialogsShowSelectLinetypeDialog Method

Displays Rhino's single linetype selection dialog.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool ShowSelectLinetypeDialog(
	ref int linetypeIndex,
	bool displayByLayer
)

Parameters

linetypeIndex
Type: SystemInt32
Initial linetype for the dialog, and will receive selected linetype if function returns true.
displayByLayer
Type: SystemBoolean
Displays the "ByLayer" linetype in the list. Defaults to false.

Return Value

Type: Boolean
True if the dialog was closed with the OK button. False if the dialog was closed with escape.
Version Information

Rhino for Windows

Supported in: 6.4
See Also