FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > DefaultSheetAxisModel Class > DefaultSheetAxisModel Constructor : DefaultSheetAxisModel Constructor(Int32,SheetAxisOrientation) |
'Declaration Public Function New( _ ByVal count As Integer, _ ByVal orientation As SheetAxisOrientation _ )
'Usage Dim count As Integer Dim orientation As SheetAxisOrientation Dim instance As New DefaultSheetAxisModel(count, orientation)
public DefaultSheetAxisModel( int count, SheetAxisOrientation orientation )
DefaultSheetAxisModel parent = New DefaultSheetAxisModel(10,SheetAxisOrientation.Horizontal) DefaultSheetAxisModel child = New DefaultSheetAxisModel(10,SheetAxisOrientation.Horizontal,parent) parent.SetSize(0,50) child.SetSize(-1,10) FpSpread1.ActiveSheetView.ColumnAxisModel=child
DefaultSheetAxisModel parent = new DefaultSheetAxisModel(10,SheetAxisOrientation.Horizontal); DefaultSheetAxisModel child = new DefaultSheetAxisModel(10,SheetAxisOrientation.Horizontal,parent); parent.SetSize(0,50); child.SetSize(-1,10); FpSpread1.ActiveSheetView.ColumnAxisModel=child;
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional