Spread Windows Forms 8.0 Product Documentation
DefaultSheetAxisModel Constructor()
Example 


Creates an axis model (DefaultSheetAxisModel object) with zero rows, zero columns, and no parent model.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New DefaultSheetAxisModel()
public DefaultSheetAxisModel()
Example
This example creates a DefaultSheetAxisModel and assigns it to the ColumnAxis of the active sheet.
FarPoint.Win.Spread.Model.DefaultSheetAxisModel dsam = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel();
dsam = (FarPoint.Win.Spread.Model.DefaultSheetAxisModel)fpSpread1.ActiveSheet.Models.ColumnAxis;
dsam.SetSize(1, 100);
Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel()
dsam = FpSpread1.ActiveSheet.Models.ColumnAxis
dsam.SetSize(1, 100)
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

Reference

DefaultSheetAxisModel Class
DefaultSheetAxisModel Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.