L_AnnBringToFront

Summary

Reorders the specified annotation object so that it is displayed on top of other objects in the same container.

Syntax

#include "l_bitmap.h"

L_LTANN_API L_INT L_AnnBringToFront(hObject)

Parameters

HANNOBJECT hObject

Handle to the annotation object.

Returns

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

Comments

(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

Platforms

Win32, x64.

See Also

Functions

Topics

Example

This example toggles an object, bringing it to the front or sending it to the back.
For a complete sample code, refer to the \Examples\Annotation\C\Annotate demo.

L_INT AnnBringToFrontExample(HANNOBJECT hAnnObject, L_BOOL InFront) 
{ 
   L_INT nRet = SUCCESS; 
 
   if (InFront) 
   { 
      nRet = L_AnnSendToBack(hAnnObject); 
      InFront = L_FALSE; 
   } 
   else 
   { 
      nRet = L_AnnBringToFront(hAnnObject); 
      InFront = L_TRUE; 
   } 
 
   return nRet; 
} 

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.