Spread Windows Forms 10.0 Product Documentation
Size Field (SheetAxisProperty)
Example 


Represents the axis model Size property.
Syntax
'Declaration
 
Public Shared ReadOnly Size As SheetAxisProperty
'Usage
 
Dim value As SheetAxisProperty
 
value = SheetAxisProperty.Size
public static readonly SheetAxisProperty Size
Example
This example checks to see if the Size property has been set for the specified index of the model.
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.SetSize(0, 120);
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Size);
listBox1.Items.Add(b.ToString());
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.SetSize(0, 120)
b = defAxis.IsPropertySet(0, FarPoint.Win.Spread.Model.SheetAxisProperty.Size)
ListBox1.Items.Add(b.ToString())
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetAxisProperty Class
SheetAxisProperty Members

 

 


Copyright © GrapeCity, inc. All rights reserved.