Creates a clone of the current XlsFont object with the specified parent.
Namespace:
Spire.Xls.Core.Spreadsheet
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public XlsFont Clone(
Object parent
)
Public Function Clone (
parent As Object
) As XlsFont
public:
XlsFont^ Clone(
Object^ parent
)
member Clone :
parent : Object -> XlsFont
Parameters
-
parent
-
Type:
System
Object
The parent object, which should be an instance of Spire.Xls.Core.Spreadsheet.XlsWorkbook.
Return Value
Type:
XlsFont
A new XlsFont object that is a clone of the current instance.
Exceptions
Exception
|
Condition
|
ArgumentNullException
|
Thrown when the parent is null or not an instance of Spire.Xls.Core.Spreadsheet.XlsWorkbook.
|
See Also