LImageViewer::RemoveBitmapRegion

Summary

Removes the bitmap region from the image located at the specified cell or sub-cell.

Syntax

#include "ltwrappr.h"

L_INT LImageViewer::RemoveBitmapRegion(nCellIndex, nSubCellIndex, uFlags)

Parameters

L_INT nCellIndex

A zero based index of the cell that contains the image to remove the region from.

L_INT nSubCellIndex

A zero-based index into the image list attached to the cell. This image contains the region that will be removed. Pass -1 to remove the region from all the bitmaps in the cell. Pass -2 to remove the region from the bitmap in the selected sub-cell.

L_UINT uFlags

Reserved for future use. Pass 0.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

You can create a region either by using one of the LEAD functions. Or you can use the tools in the image viewer that draws different shapes of regions, which are:

Tools for drawing regions can be added to the viewer by calling LImageViewerCell::AddAction, and can be set by calling LImageViewerCell::SetAction.

For more information on how to create a region using the medical viewer tools. Refer to Creating a Bitmap Region Inside the Image Viewer.

Required DLLs and Libraries

See Also

Functions

Topics

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

LEADTOOLS Medical Image Viewer C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.