LAnnContainer::GetBackColor

✎ NOTE

THIS FUNCTION IS NOW INHERITED DIRECTLY FROM THE PARENT LANNOTATION CLASS.

Summary

Gets the background color of the annotation object.

Syntax

#include "ltwrappr.h"

virtual COLORREF LAnnContainer::GetBackColor()

Returns

The background color of the annotation object.

Comments

Default is white.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

L_INT LAnnContainer_GetBackColorExample(LAnnContainer  * pAnnObject) 
{ 
   L_INT nRet; 
 
   COLORREF ThisColor; /* Object background color */ 
 
   /* Invert the background color */ 
 
   ThisColor = pAnnObject->GetBackColor(); 
 
   nRet = pAnnObject->SetBackColor(ThisColor ^ 0x00FFFFFF, 0); 
   if(nRet != SUCCESS) 
      return nRet; 
 
   return SUCCESS; 
} 
Help Version 22.0.2023.2.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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