Removes the bitmap region from the image located at the specified cell or sub-cell.
L_INT LImageViewerCell::RemoveBitmapRegion(nSubCellIndex, uFlags)
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.
Reserved for future use. Pass 0.
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
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:
Nudge tools region.
Free hand region.
 Magic wand (contiguous color) region
Color range region.
For more information about how to create a region using the medical viewer tools. Refer to Creating a Bitmap Region Inside the Image Viewer.
Remove bitmap regions of the first cell.
L_INT LImageViewer_RemoveBitmapRegionExample(LImageViewerCell& ImageViewerCell)
L_INT nRet = ImageViewerCell.RemoveBitmapRegion(-1, 0);