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  | 
 
 
            
Members
            
            
            
Example
This example creates a new DefaultSheetAxisModel and assigns it to the active sheet.
             
| C# |  Copy Code | 
|---|
publicclassmySheetAxisModel:FarPoint.Web.Spread.Model.DefaultSheetAxisModel
{
publicoverrideintGetSize(intindex)
{
return180;
}
}
privatevoidPage_Load(objectsender,System.EventArgse)
{
if(this.IsPostBack)return;
mySheetAxisModelparent=newmySheetAxisModel();
FarPoint.Web.Spread.Model.DefaultSheetAxisModelmodel=newFarPoint.Web.Spread.Model.DefaultSheetAxisModel(FpSpread1.ActiveSheetView.ColumnCount,FarPoint.Web.Spread.Model.SheetAxisOrientation.Horizontal,parent);
FpSpread1.ActiveSheetView.ColumnAxisModel=model;
} | 
 
| Visual Basic |  Copy Code | 
|---|
PublicClassmySheetAxisModel
InheritsFarPoint.Web.Spread.Model.DefaultSheetAxisModel
PublicOverridesFunctionGetSize(ByValindexAsInteger)AsInteger
Return180
EndFunction
EndClass
PrivateSubPage_Load(ByValsenderAsSystem.Object,ByValeAsSystem.EventArgs)HandlesMyBase.Load
If(IsPostBack)ThenReturn
DimparentAsNewmySheetAxisModel()
DimmodelAsNewFarPoint.Web.Spread.Model.DefaultSheetAxisModel(FpSpread1.ActiveSheetView.ColumnCount,FarPoint.Web.Spread.Model.SheetAxisOrientation.Horizontal,parent)
FpSpread1.ActiveSheetView.ColumnAxisModel=model
EndSub  | 
 
 
            
            
Inheritance Hierarchy
            
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
 
            
            
See Also