#include "l_bitmap.h"
L_LTANN_API L_INT L_AnnBringToFront(hObject)
Reorders the specified annotation object so that it is displayed on top of other objects in the same container.
Handle to the annotation object.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
(Document and Medical) This function moves the object to the end of the enumeration order for objects in the same container. When the container is displayed, using the L_AnnDraw function, this object is displayed last.
Required DLLs and Libraries
Win32, x64.
For complete sample code, refer to the Annotate example.
/* This example toggles an object, bringing it to the front or sending it to the back. */
L_INT AnnBringToFrontExample(HANNOBJECT hAnnObject)
{
L_INT nRet;
static BOOL InFront;
if (InFront)
{
nRet = L_AnnSendToBack(hAnnObject);
if(nRet != SUCCESS)
return nRet;
InFront = FALSE;
}
else
{
nRet = L_AnnBringToFront(hAnnObject);
if(nRet != SUCCESS)
return nRet;
InFront = TRUE;
}
return SUCCESS;
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document