Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FillDirection Enumeration
Example Example


In This Topic
    FillDirection Enumeration
    In This Topic
    Specifies the direction of the filling of cells.
    Syntax
    'Declaration
     
    Public Enum FillDirection 
       Inherits System.Enum
    'Usage
     
    Dim instance As FillDirection
    public enum FillDirection : System.Enum 
    Members
    MemberDescription
    Down Fills from the top to the bottom
    Left Fills from the right to the left
    Right Fills from the left to the right
    Up Fills from the bottom to the top
    Example
    fpSpread1.ActiveSheet.Cells[0, 0, 1, 1].Text = "Fill";
    fpSpread1.ActiveSheet.FillRange(3, 0, 1, 1, 1, FarPoint.Win.Spread.FillDirection.Right);
    FpSpread1.ActiveSheet.Cells(0, 0, 1, 1).Text = "Fill"
    FpSpread1.ActiveSheet.FillRange(4, 0, 1, 1, 1, FarPoint.Win.Spread.FillDirection.Down)
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             FarPoint.Win.Spread.FillDirection

    See Also