Spread Windows Forms 7.0 Product Documentation
SheetAxisOrientation Enumeration
Example  See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace : SheetAxisOrientation Enumeration


Glossary Item Box

Specifies the orientation for the layout information, whether by row or column, for the axis model for the sheet.

Syntax

Visual Basic (Declaration) 
Public Enum SheetAxisOrientation 
   Inherits System.Enum
Visual Basic (Usage)Copy Code
Dim instance As SheetAxisOrientation
C# 
public enum SheetAxisOrientation : System.Enum 

Members

MemberDescription
HorizontalOrients the layout by column (along the horizontal axis)
VerticalOrients the layout by row (along the vertical axis)

Example

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 BasicCopy Code
Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(5, FarPoint.Win.Spread.Model.SheetAxisOrientation.Horizontal)
FpSpread1.ActiveSheet.Models.RowAxis = dsam

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Win.Spread.Model.SheetAxisOrientation

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.