AnnGetBackColor method (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

int AnnGetBackColor(HANNOBJECT hObject, TColor &clBack)

Delphi Syntax

Function AnnGetBackColor (hObject: HANNOBJECT; var clBack: TColor): L_INT

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets the background color of the annotation object.

To convert from a TColor value to a COLORREF value, call the ColorToRGB method. To convert from a COLORREF value to a TColor value, cast the COLORREF value to a TColor type.

To see how the background color relates to the fill modes, refer to Illustration of Fill Options for Annotations.

See Also

Elements

AnnSetForeColor method, AnnGetForeColor method, AnnSetBackColor method

Topics

Annotations (Document/Medical only): Object Manipulation

 

Using Color Values in LEADTOOLS