Represents the axis model MergePolicy property.
Syntax
Example
This example checks to see if the MergePolicy 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.SetMergePolicy(0, FarPoint.Win.Spread.Model.MergePolicy.None);
b = defAxis.IsPropertySet(10, FarPoint.Win.Spread.Model.SheetAxisProperty.MergePolicy);
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.SetMergePolicy(0, FarPoint.Win.Spread.Model.MergePolicy.None)
b = defAxis.IsPropertySet(10, FarPoint.Win.Spread.Model.SheetAxisProperty.MergePolicy)
ListBox1.Items.Add(b.ToString()) |
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