Click or drag to resize

XlsArcShape Clone Method (Object, Dictionary String, String , Dictionary Int32, Int32 , Boolean)

Creates a clone of the current shape.

Namespace: Spire.Xls.Core.Spreadsheet.Shapes
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public override IShape Clone(
	Object parent,
	Dictionary<string, string> hashNewNames,
	Dictionary<int, int> dicFontIndexes,
	bool addToCollections
)

Parameters

parent
Type: System Object
New parent for the shape object.
hashNewNames
Type: System.Collections.Generic Dictionary String , String
Dictionary with new worksheet names.
dicFontIndexes
Type: System.Collections.Generic Dictionary Int32 , Int32
Dictionary with new font indexes.
addToCollections
Type: System Boolean
Indicates whether we should add created shape into all necessary parent collections.

Return Value

Type: IShape
A copy of the current shape.
See Also