AnnSetAutoBackColor method (ILEADRasterAnnotation)

Visual Basic example

Visual C++ 5.0 example

 

Syntax

short AnnSetAutoBackColor(long hObject, short iType, OLE_COLOR crBack);

Overview

Refer to Implementing Annotations.

Remarks

Sets the background color of one or more annotation objects.

This method does not affect objects that do not have this property or that do not let you change the property. For descriptions of the various types of objects and their properties, refer to Types of Annotations. Please note the following:

 

if iType is:

then the background color is changed for:

ANN_OBJECT_NOTE or ANN_OBJECT_PUSHPIN

Note objects and push pin objects created by the automation object

ANN_OBJECT_HILITE

Hilite objects created by the automation object.

ANN_OBJECT_REDACT

Redact objects created by the automation object.

any other object such as ANN_OBJECT_TEXT, ANN_OBJECT_RECT, etc.

All other objects, created by the automation object, which have a background color property.

 

See Also

Topics

AnnAutoSnapCursor property, AnnGetAutoBackColor method, AnnGetBackColor method, AnnSetBackColor method, AnnAutoHilightPen property

Topics

Annotations (Document/Medical only): Automation

 

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

 

Using Color Values in LEADTOOLS