AnnGetAutoBackColor method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

OLE_COLOR AnnGetAutoBackColor(long hObject, short iType);

Overview

Refer to Implementing Annotations.

Remarks

(Document/Medical only) Gets the background color of one or more annotation objects.

Please note the following:

 

if iType is:

then the background color retrieved is:

ANN_OBJECT_NOTE or ANN_OBJECT_PUSHPIN

the background color used for Note objects and push pin objects created by the automation object

ANN_OBJECT_HILITE

the background color used for Hilite objects created by the automation object.

ANN_OBJECT_REDACT

the background color used for Redact objects created by the automation object.

any other object such as ANN_OBJECT_TEXT, ANN_OBJECT_RECT, etc.

the background color used for all other objects, created by the automation object, which have a background color property.

 

See Also

Elements

AnnAutoSnapCursor property, AnnSetAutoBackColor method, AnnGetBackColor method, AnnSetBackColor method

Topics

Annotations (Document/Medical only): Automation

 

Obtaining Annotation Object Information

 

Annotations (Document/Medical only): Getting and Setting Color Properties

 

Using Color Values in LEADTOOLS