←Select platform

Clone Method

Summary
Creates an exact copy of this AnnContainer object.
Syntax
C#
C++/CLI
Java
Python
public AnnContainer Clone() 
public AnnContainer clone() 
public:  
   AnnContainer^ Clone() 
def Clone(self): 

Return Value

The AnnContainer object that this class creates.

Remarks

The method will copy all properties and children of this AnnContainer to the newly created one as follows:

Member Description

Mapper

AnnMapper.MapResolutions and AnnContainerMapper.UpdateTransform will be called to copy the resolution and transform values to the new container.

IsVisible, HitTestBuffer, PageNumber, Size and Offset

Will be set in the new container

Fill and Stroke

Will be cloned in the new container

Labels

Each AnnLabel will be cloned and added to the new container

Children

Each AnnObject will be cloned and added to the new container

Requirements

Target Platforms

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.