RhinoCommon API
DialogsShowSelectLinetypeDialog Method |
Displays Rhino's single linetype selection dialog.
Namespace: Rhino.UI
Assembly: RhinoCommon (in RhinoCommon.dll)

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: BooleanTrue if the dialog was closed with the OK button. False if the dialog was closed with escape.

Rhino for Windows
Supported in: 6.8