SetSelectedAnnotationBackColor Method

Sets the background color of a selected Attach-a-Note annotation.

Applies To

Image Edit control

Syntax

object.SetSelectedAnnotationBackColor Color

Argument

Parameter

Data Type

Setting

Color

Color

The desired Attach-a-Note color


Return Value

None

Remarks

The SetSelectedAnnotationBackColor method is used with annotations of the Attach-a-Note type.

Use the RGB format. RGB (Red Green Blue) values range from 0 to 16,777,215 (&HFFFFFF). The high byte of a number in this range equals 0; the lower 3 bytes, from least to most significant byte, determine the amount of red, green, and blue, respectively. The red, green, and blue components are each represented by a number between 0 and 255 (&HFF).

To ensure that the text in an Attach-a-Note annotation will be visible against the background, specify a background color that is significantly different from the font color set using the SetSelectedAnnotationFontColor method.

See Also

Annotation topics in Imaging Concepts

AnnotationBackColor property

AnnotationType property

GetSelectedAnnotationBackColor method

SetSelectedAnnotationFontColor method