L_AnnCopyFromClipboard

#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.  

Parameters

HWND hWnd

Handle to the window for the container.

pHANNOBJECT phContainer

Handle to the annotation container object.

Returns

Value Meaning
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

Platforms

Win32, x64.

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help