#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnCopyFromClipboard(hWnd, phContainer)
HWND hWnd; |
/* handle to the window for the container */ |
pHANNOBJECT phContainer; |
/* handle to the annotation container object */ |
Copies an annotation object from the clipboard to a specified annotation container.
The data on the clipboard must be a LEAD annotation in native format.
Parameter |
Description |
hWnd |
Handle to the window for the container. |
phContainer |
Handle to the annotation container object. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
(Document and Medical) Before calling this function, you can use the L_AnnClipboardReady function to test the validity of data on the clipboard.
You can use L_AnnCopyToClipboard or L_AnnCutToClipboard to place valid annotation data on the clipboard.
For more information about loading and pasting automated annotations, refer to Loading and Pasting Automated Annotations.
Required DLLs and Libraries
LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64.
See Also
Functions: |
|
|
|
Topics: |
|
|
|
|
|
|
|
|
Example
For an example, refer to L_AnnClipboardReady. For complete sample code, refer to the ANNOTATE example.