Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / ShapeActionsCommand Class / Distribute Method
The drawing objects to process.
indicate direction distributing, horizontal or vertical


In This Topic
    Distribute Method (ShapeActionsCommand)
    In This Topic
    Creates a ShapeActionsCommand instance for distribute aligning.
    Syntax
    'Declaration
     
    
    Public Shared Function Distribute( _
       ByVal shape() As Shape, _
       ByVal horizontal As Boolean _
    ) As ShapeActionsCommand
    'Usage
     
    
    Dim shape() As Shape
    Dim horizontal As Boolean
    Dim value As ShapeActionsCommand
     
    value = ShapeActionsCommand.Distribute(shape, horizontal)
    public static ShapeActionsCommand Distribute( 
       Shape[] shape,
       bool horizontal
    )

    Parameters

    shape
    The drawing objects to process.
    horizontal
    indicate direction distributing, horizontal or vertical
    See Also