AnnotationFont Property

Example-VB Example-VC++

Returns or sets a font object’s properties.  Applies to all text annotation types.

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 Annotation Tool Button control, Image Edit control

Syntax

object.AnnotationFont

Data Type

IFontDisp

Remarks

Use the AnnotationFont property of an object to identify the specific font object whose properties you want to use or set.  The following list shows the properties you can use or set, along with their data types, descriptions, and defaults:

Property Data Type Description Default

Bold Boolean True Selects bold attribute
False Deselects bold attribute
False
Italic Boolean True Selects italic attribute
False Deselects italic attribute
False
Name String The desired font name MS San Serif
Size Single The desired font size in points (0 to 2048) 12
Underline Boolean True Selects underline attribute
False Deselects underline attribute
False
StrikeThrough Boolean True Selects strikethrough attribute
False Deselects strikethrough attribute
False

The AnnotationFont property is used with the following annotation types:

Note: Hyperlink annotations are available with Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 only.