Determines whether two styles (a specified object and a NamedStyle object) are equal.
Syntax
Visual Basic (Usage) | Copy Code |
---|
|
Parameters
- style
- NamedStyle object (one side of the inequality operator)
- o
- Object with which to compare the NamedStyle object (other side of the inequality operator)
Return Value
true if objects are equal;
false otherwise
Example
This example compares a custom style with another style object for equality.
C# | Copy Code |
---|
[No equivalent in C#] |
Visual Basic | Copy Code |
---|
Dim ns As New FarPoint.Web.Spread.NamedStyle()
Dim si As New FarPoint.Web.Spread.StyleInfo()
Dim b As Boolean
si.BackColor = Color.LightBlue
ns.CopyFrom(si)
b = ns.opEquality(ns, si)
FpSpread1.ActiveSheetView.DefaultStyle = ns
ListBox1.Items.Add(b.ToString()) |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also