Table of Contents

Method Of

Namespace
OpenCAD2D.SheetSets
Assembly
OpenCAD2D.Core.dll

Of(CadSheetListData)

Makes a column of a data type, its heading the type's own words ("Sheet Number").

public static CadSheetListColumn Of(CadSheetListData data)

Parameters

data CadSheetListData

What it shows; not CustomProperty, which Custom(string, string) makes.

Returns

CadSheetListColumn

The column.

Exceptions

ArgumentException

Thrown when the data type is a custom property.

Of(CadSheetListData, string)

Makes a column of a data type under a heading of the caller's.

public static CadSheetListColumn Of(CadSheetListData data, string heading)

Parameters

data CadSheetListData

What it shows; not CustomProperty.

heading string

The heading text.

Returns

CadSheetListColumn

The column.

Exceptions

ArgumentNullException

Thrown when the heading is null.

ArgumentException

Thrown when the data type is a custom property.