PrintDocument for WinForms | ComponentOne
C1.PrintDocument.6 Assembly / C1.C1Preview Namespace / PageColumnDefCollection Class / Add Method / Add(Unit,Unit) Method
The PageColumnDef.Width of the new column definition.
The PageColumnDef.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 PageColumnDef.Width of the new column definition.
    columnSpacing
    The PageColumnDef.Spacing of the new column definition.

    Return Value

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