Compares a StyleInfo object's appearance with the current object's appearance.
Parameters
- info
- StyleInfo object to compare to current StyleInfo object
Return Value
Boolean:
true if appearance is identical;
false otherwise
This example creates three objects, two StyleInfo objects and a SheetStyleProperty object. The ForeColor and Font properties of the first StyleInfo object are set, and the BackColor of the second. The second object is then merged with the first. Then a boolean value returns whether the BackColor property has, in fact, been set after the merge and, also, whether the two StyleInfo objects properties are all identical.