AnnGetClipboardDataCallback( automation , position , format )
Parameter | Type | Description |
---|---|---|
automation | AnnAutomation | Automation object requesting the operation. |
position | LeadPointD | Position to paste the objects in container coordinates. |
format | string | Annotation format. Currently only "AnnObject" is supported. |
This callback is used by AnnAutomation when Paste or PasteAt are called. The automation object will query if a callback was set in AnnAutomationManager.PlatformCallbacks and then AnnPlatformCallbacks.GetClipboardData. The implementer of AnnGetClipboardDataCallback must then get the clipboard data as a string and call AnnAutomation.PasteStringAt using the parameters to complete the paste operation.