LAnnContainer::GetBackColor

#include "ltwrappr.h"

virtual COLORREF LAnnContainer::GetBackColor()

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

Gets the background color of the annotation object.

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 20.0.2020.4.5
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C++ Class Library Help