LEADTOOLS JavaScript (Leadtools.Annotations.Core)
LEAD Technologies, Inc

Clone Method (AnnContainer)


Creates an exact copy of this AnnContainer object.
Syntax
 function Leadtools.Annotations.Core.AnnContainer.clone()
!MISSING Scrap '_RTJavaScript_Method_SYNTAX'!

Return Value

TypeDescription
AnnContainer 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

Resources

The same reference will be set 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

See Also

Reference

AnnContainer Object
AnnContainer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.