Visual Basic (Declaration) | |
---|---|
Public Enum SheetAxisOrientation Inherits System.Enum |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetAxisOrientation |
C# | |
---|---|
public enum SheetAxisOrientation : System.Enum |
Member | Description |
---|---|
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.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.Model.DefaultSheetAxisModel dsam = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(5, FarPoint.Win.Spread.Model.SheetAxisOrientation.Horizontal);
fpSpread1.ActiveSheet.Models.RowAxis = dsam; |
Visual Basic | Copy Code |
---|---|
Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(5, FarPoint.Win.Spread.Model.SheetAxisOrientation.Horizontal) FpSpread1.ActiveSheet.Models.RowAxis = dsam |
System.Object
System.ValueType
System.Enum
FarPoint.Win.Spread.Model.SheetAxisOrientation
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2