(Leadtools.Annotations.Automation)

Copy Method

Show in webframe




The activity context.
Copies the objects currently being edited to the clipboard.
Syntax
public void Copy( 
   Leadtools.Context context
)
public void Copy( 
   Leadtools.Context context
)

            
public void copy(Context context)
 function Leadtools.Annotations.Automation.AnnAutomation.Copy( 
   context 
)

Parameters

context
The activity context.
Remarks

AnnAutomation can copy objects to the clipboard when one or more Leadtools.Annotations.Core.AnnObject objects are in edit mode (selected).

Use the CanCopy property to determine whether objects inside this AnnAutomation can be copied to the clipboard

You can call Copy followed by DeleteSelectedObjects to simulate a clipboard "cut" operation.

Since clipboard operations is platform-specific, this method will use AnnPlatformCallbacks.SetClipboardData of AnnAutomationManager.PlatformCallbacks to perform the copy operation.

Requirements

Target Platforms

See Also

Reference

AnnAutomation Class
AnnAutomation Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.