#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnCopyFromClipboard(hWnd, phContainer)
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.
Handle to the window for the container.
Handle to the annotation container object.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
(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
Win32, x64.
For an example, refer to L_AnnClipboardReady. For complete sample code, refer to the ANNOTATE example.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document