Spread Windows Forms 6.0 Product Documentation
DefaultSheetAxisModel Constructor()
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetAxisModel Class > DefaultSheetAxisModel Constructor : DefaultSheetAxisModel Constructor()


Glossary Item Box

Creates an axis model (DefaultSheetAxisModel object) with zero rows, zero columns, no parent model.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New DefaultSheetAxisModel()
C# 
public DefaultSheetAxisModel()

Example

This example creates a DefaultSheetAxisModel and assigns it to the ColumnAxis of the active sheet.
C#Copy Code
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);
Visual BasicCopy Code
Dim dsam As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel()
dsam = FpSpread1.ActiveSheet.Models.ColumnAxis
dsam.SetSize(1, 100)

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.