Admin Production ni-theme
Current Publication

ClipboardPutBitmap

LabWindows/CVI

ClipboardPutBitmap

int ClipboardPutBitmap (int bitmapID);

Purpose

Copies a bitmap image onto the system clipboard.

(Linux) This function affects only the internal LabWindows/CVI clipboard, not the host system clipboard.

Parameters

Input
Name Type Description
bitmapID int ID of the bitmap object that contains the image. You can obtain the ID from functions such as NewBitmapEx and GetCtrlBitmap.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Examples

Refer to the following examples that use the ClipboardPutBitmap function:

  • apps\iconedit\iconedit.cws

    Open example
  • apps\uirview\uirview.cws

    Open example
  • userint\clipbord.cws

    Open example