Leadtools.Annotations.Core Namespace > AnnContainer Class : Clone Method |
public AnnContainer Clone()
Public Function Clone() As AnnContainer
public AnnContainer Clone()
public AnnContainer clone()
function Leadtools.Annotations.Core.AnnContainer.Clone()
The method will copy all properties and children of this AnnContainer to the newly created one as follows:
Member | Description |
---|---|
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 |
Will be cloned in the new container |
|
The same reference will be set in the new container |
|
Each AnnLabel will be cloned and added to the new container |
|
Each AnnObject will be cloned and added to the new container |