Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.Model Namespace / DefaultSheetAxisModel Class / DefaultSheetAxisModel Constructor / DefaultSheetAxisModel Constructor()
Example


In This Topic
    DefaultSheetAxisModel Constructor()
    In This Topic
    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)
    See Also