Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Preview Namespace / PageColumnDefCollection Class / Add Method / Add(Unit,Unit) Method
The Width of the new column definition.
The Spacing of the new column definition.

In This Topic
    Add(Unit,Unit) Method
    In This Topic
    Adds a new PageColumnDef initialized with the specified width and spacing to the current collection.
    Syntax
    'Declaration
     
    Public Overloads Function Add( _
       ByVal columnWidth As Unit, _
       ByVal columnSpacing As Unit _
    ) As Integer
    public int Add( 
       Unit columnWidth,
       Unit columnSpacing
    )

    Parameters

    columnWidth
    The Width of the new column definition.
    columnSpacing
    The Spacing of the new column definition.

    Return Value

    The index of the added PageColumnDef in the current collection.
    See Also