Represents the axis model Resizable property.
Syntax
Example
This example checks to see if the Resizable property has been set for the specified index of the model.
C# | Copy Code |
---|
FarPoint.Win.Spread.Model.DefaultSheetAxisModel defAxis = new FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical);
fpSpread1.ActiveSheet.Models.ColumnAxis = defAxis;
bool b;
defAxis.SetResizable(0, false);
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Resizable);
listBox1.Items.Add(b.ToString()); |
Visual Basic | Copy Code |
---|
Dim defAxis As New FarPoint.Win.Spread.Model.DefaultSheetAxisModel(20, FarPoint.Win.Spread.Model.SheetAxisOrientation.Vertical)
defAxis = FpSpread1.ActiveSheet.Models.ColumnAxis
Dim b As Boolean
defAxis.SetResizable(0, False)
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Resizable)
ListBox1.Items.Add(b.ToString()) |
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