←Select platform

Clone Method

Summary

Creates an exact copy of this AnnContainer object.

Syntax

C#
VB
Java
WinRT C#
C++
public AnnContainer Clone() 
Public Function Clone() As Leadtools.Annotations.Core.AnnContainer 
public AnnContainer clone() 
 function Leadtools.Annotations.Core.AnnContainer.Clone() 
public:  
   AnnContainer^ Clone() 

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