Description

Property used to access the font information for this McGraphObjText.

Property type

A Font object.  

Syntax

[Set] object.Font [= Font]

The Font Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McGraphObjText.
FontA Font object.

Remarks

This property is typed as a standard IFontDisp dispinterface. This interface exposes a font object's properties through Automation. It provides a subset of the IFont methods:

Property Type Access Description
Name BSTR RW The facename of the font, e.g. Arial.
Size CY RW The point size of the font, expressed in a CY type to allow for fractional point sizes.
Bold BOOL RW Indicates whether the font is boldfaced.
Italic BOOL RW Indicates whether the font is italicized.
Underline BOOL RW Indicates whether the font is underlined.
Strikethrough BOOL RW Indicates whether the font is strikethrough.
Weight short RW The boldness of the font.
Charset short RW The character set used in the font, such as ANSI_CHARSET, DEFAULT_CHARSET, or SYMBOL_CHARSET.