Table of Contents

Method Names

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Names(string, bool)

Gets the names of the tables a folder holds, to list in the Plot dialog: its .ctb files (named false) or its .stb files, in ordinal order of their names with letters of either case the same, ties by case. Where folder is empty, the names of the tables the presenter makes of that kind.

public static IReadOnlyList<string> Names(string folder, bool named)

Parameters

folder string

The folder; null or empty for none, the built-in tables standing in.

named bool

True for named tables (.stb), false for colour-dependent ones (.ctb).

Returns

IReadOnlyList<string>

The names with their extensions, a new list; empty where the folder is missing or holds none.