[]
        
(Showing Draft Content)

C1.C1Preview.PageColumnDefCollection.Add

Add Method

Add(PageColumnDef)

Adds a PageColumnDef to the current collection.

Declaration
public int Add(PageColumnDef pageColumnDef)
Parameters
Type Name Description
PageColumnDef pageColumnDef

The PageColumnDef to add.

Returns
Type Description
int

The index of the added PageColumnDef in the current collection.

Add(Unit, Unit)

Adds a new PageColumnDef initialized with the specified width and spacing to the current collection.

Declaration
public int Add(Unit columnWidth, Unit columnSpacing)
Parameters
Type Name Description
Unit columnWidth

The Width of the new column definition.

Unit columnSpacing

The Spacing of the new column definition.

Returns
Type Description
int

The index of the added PageColumnDef in the current collection.

Add()

Adds a new PageColumnDef initialized with the default Width and Spacing to the current collection.

Declaration
public int Add()
Returns
Type Description
int

The index of the added PageColumnDef in the current collection.