FarPoint.Win.Spread.Model.ISheetAxisModel isa;
DialogResult dlg;
bool b;
isa = (FarPoint.Win.Spread.Model.ISheetAxisModel)fpSpread1.ActiveSheet.Models.ColumnAxis;
isa.SetSize(1, 120);
b = isa.IsPropertySet(1, FarPoint.Win.Spread.Model.SheetAxisProperty.Size);
label1.Text = "Is the size property set = " + b.ToString();
dlg = MessageBox.Show("Do you want to reset the size??", "ResetProperty", MessageBoxButtons.YesNo);
if (dlg == DialogResult.Yes)
{
bool b1;
isa.ResetProperty(1, FarPoint.Win.Spread.Model.SheetAxisProperty.Size);
b1 = isa.IsPropertySet(1, FarPoint.Win.Spread.Model.SheetAxisProperty.Size);
label1.Text = "Is the size property set = " + b1.ToString();
}