clone Method

Summary

Creates an exact copy of this AnnContainer object.

Syntax
TypeScript
JavaScript
AnnContainer.prototype.clone = function() 
clone(): AnnContainer; 

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 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly