Xbasic

Office::Excel2003DocumentAddFont Method

Syntax

.AddFont as Office::Font ([InitialFont as Office::Font])

Arguments

InitialFontOffice::Font

Default = null_value(). An existing font to copy.

Returns

resultOffice::Font

Returns the new font.

Description

Create a new font and add it to the document. You can pass an existing font to copy its values into the new one.