clone Method

Summary

Creates an exact copy of this AnnContainer object.

Syntax

JavaScript Syntax
AnnContainer.prototype.clone = function() 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Core Assembly