[]
        
(Showing Draft Content)

C1.C1Preview.PageColumnDefCollection.Add

Add Method

Add(PageColumnDef)

Adds a PageColumnDef to the current collection.

Declaration
public int Add(PageColumnDef pageColumnDef)
Public Function Add(pageColumnDef As PageColumnDef) As Integer
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)
Public Function Add(columnWidth As Unit, columnSpacing As Unit) As Integer
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()
Public Function Add() As Integer
Returns
Type Description
int

The index of the added PageColumnDef in the current collection.