Dialogs.ShowSelectLinetypeDialog Method

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
)
Public Shared Function ShowSelectLinetypeDialog ( 
	ByRef linetypeIndex As Integer,
	displayByLayer As Boolean
) As Boolean

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.8
See Also