SetSelectedAnnotationFontColor Method

Example-VB Example-VC++

Sets the font color used in a selected text annotation.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.SetSelectedAnnotationFontColor Color

Argument

Parameter Data Type Setting

Color Long The desired font color

Return Value

None

Remarks

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

Attach-a-Note

Invoking the SetSelectedAnnotationFontColor method sets the ImageModified property to True.

Note: Hyperlink annotations are available with Imaging for Windows Professional Edition only.

Use the RGB format.  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.