AnnGetAutoBackColor method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax OLE_COLOR AnnGetAutoBackColor(OLE_HANDLE 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 uObjectType is:

then the background color retrieved is:

ANNOBJECT_NOTE or ANNOBJECT_PUSHPIN

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

ANNOBJECT_HILITE

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

ANNOBJECT_REDACT

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

any other object such as ANNOBJECT_TEXT, ANNOBJECT_RECT, etc.

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

See Also

Elements:  AnnSetAutoBackColor method, AnnGetBackColor method, AnnSetBackColor method

Topics:  Annotations (Document/Medical only): Automation