AnnSetBackColor method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Syntax short AnnSetBackColor(OLE_HANDLE hObject, OLE_COLOR crBack, BOOL bSelected);

Overview:  Refer to Implementing Annotations.

Remarks

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

Use the Windows COLORREF data type to specify the color. For example, use the Pixel property or the Windows RGB macro to get a color value.

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

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.

See Also

Elements:  AnnSetForeColor method, AnnGetForeColor method, AnnGetBackColor method, AnnSetROP2 method, AnnGetROP2 method, AnnGetAutoBackColor method, AnnSetAutoBackColor method

Topics:  Annotations (Document/Medical only): Object Manipulation