Click or drag to resize

XlsFont Clone Method

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
)

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