Overload | Description |
---|---|
Equals | Determines whether the style settings of this object are equivalent to the object specified. |
Overload | Description |
---|---|
Equals | Determines whether the style settings of this object are equivalent to the object specified. |
FarPoint.Web.Spread.StyleInfo info = new FarPoint.Web.Spread.StyleInfo(); FarPoint.Web.Spread.StyleInfo cinfo = new FarPoint.Web.Spread.StyleInfo(); FarPoint.Web.Spread.Border bord = new FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 3); FarPoint.Web.Spread.Border bord1 = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Yellow, 3); info.Border = bord; info.CellType = new FarPoint.Web.Spread.LabelCellType(); cinfo.Border = bord1; cinfo.CellType = new FarPoint.Web.Spread.ButtonCellType(); cinfo.CopyFrom(info); FpSpread1.ActiveSheetView.SetStyleInfo(0, 0, cinfo); bool bl; bl = cinfo.Equals(info); ListBox1.Items.Add(Convert.ToString(bl));
Dim info As New FarPoint.Web.Spread.StyleInfo() Dim cinfo As New FarPoint.Web.Spread.StyleInfo() Dim bord As New FarPoint.Web.Spread.Border(BorderStyle.Double, Color.Red, 3) Dim bord1 As New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Yellow, 3) info.Border = bord info.CellType = New FarPoint.Web.Spread.LabelCellType() cinfo.Border = bord1 cinfo.CellType = New FarPoint.Web.Spread.ButtonCellType() cinfo.CopyFrom(info) FpSpread1.ActiveSheetView.SetStyleInfo(0, 0, cinfo) Dim bl As Boolean bl = cinfo.Equals(info) ListBox1.Items.Add(bl)