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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6