Merges settings of the specified Border object with the current border.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Overridable Function Merge( _
ByVal o As Object _
) As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Border
Dim o As Object
Dim value As Boolean
value = instance.Merge(o) |
Parameters
- o
- Object whose settings are merged with the current border
Return Value
Boolean:
true if successful;
false otherwise
Remarks
Example
This example creates two Border objects and merges the first objects settings into the seconds and applies those settings to an instance of a Cell object.
C# | Copy Code |
---|
FarPoint.Web.Spread.Borderborder=NewFarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Red,2);
FarPoint.Web.Spread.Bordercloneborder=NewFarPoint.Web.Spread.Border();
FarPoint.Web.Spread.Cellacell;
acell=FpSpread1.Cells[0,0];
cloneborder.Merge(border);
acell.Border=cloneborder; |
Visual Basic | Copy Code |
---|
DimborderAsNewFarPoint.Web.Spread.Border(BorderStyle.Dotted,Color.Red,2)
DimcloneborderAsNewFarPoint.Web.Spread.Border()
DimacellAsFarPoint.Web.Spread.Cell
acell=FpSpread1.Cells(0,0)
cloneborder.Merge(border)
acell.Border=cloneborder |
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also