XlsComboBoxShape
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
)
Public Overrides Function Clone (
parent As Object,
hashNewNames As Dictionary(Of String, String),
dicFontIndexes As Dictionary(Of Integer, Integer),
addToCollections As Boolean
) As IShape
public:
virtual IShape^ Clone(
Object^ parent,
Dictionary<String^, String^>^ hashNewNames,
Dictionary<int, int>^ dicFontIndexes,
bool addToCollections
) override
abstract Clone :
parent : Object *
hashNewNames : Dictionary<string, string> *
dicFontIndexes : Dictionary<int, int> *
addToCollections : bool -> IShape
override Clone :
parent : Object *
hashNewNames : Dictionary<string, string> *
dicFontIndexes : Dictionary<int, int> *
addToCollections : bool -> IShape
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