SetSelectedAnnotationFontColor Method

Sets the font color used in a selected text annotation.

Applies To

Image Edit control

Syntax

object.SetSelectedAnnotationFontColor Color

Argument

Parameter

Data Type

Setting

Color

Color

The desired font color


Return Value

None

Remarks

The SetSelectedAnnotationFontColor method is used with annotations of the following types:

Text

Attach-a-Note

Text From File

Text Stamp

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 font color that is significantly different from the background color set using the SetSelectedAnnotationBackColor method.

See Also

Annotation topics in Imaging Concepts

AnnotationFontColor property

AnnotationType property

GetSelectedAnnotationFontColor method

SetSelectedAnnotationBackColor method

SetSelectedAnnotationFillColor method