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

In This Topic
    SheetAxisOrientation Enumeration
    In This Topic
    Specifies the orientation for the layout information, whether by row or column, for the axis model for the sheet.
    Public Enum SheetAxisOrientation 
       Inherits System.Enum
    Dim instance As SheetAxisOrientation
    public enum SheetAxisOrientation : System.Enum 
    Horizontal Orients the layout by column (along the horizontal axis)
    Vertical Orients the layout by row (along the vertical axis)
    This example changes the orientation of the row headers.
    FarPoint.Win.Spread.Model.DefaultSheetAxisModel dsam = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(5, FarPoint.Win.Spread.Model.SheetAxisOrientation.Horizontal);
    fpSpread1.ActiveSheet.Models.RowAxis = dsam;
    Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(5, FarPoint.Win.Spread.Model.SheetAxisOrientation.Horizontal)
    FpSpread1.ActiveSheet.Models.RowAxis = dsam
    Inheritance Hierarchy


    See Also