DiscardBitmap
- Updated2023-02-21
- 2 minute(s) read
int DiscardBitmap (int bitmapID);
Purpose
Discards a bitmap object created using one of functions that returns a bitmap ID.
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 ClipboardGetBitmap and OGLGetScaledCtrlBitmapOGLGetScaledCtrlBitmap. |
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 DiscardBitmap function: