Expand Minimize

FONT Function

Office 2013

Last modified: February 13, 2012

Applies to: Office 2013 | Visio 2013

In this article
Version Information
Syntax
Return Value
Remarks
Example

Returns the integer value of the unique identifier for a font, specified by name.

Note Note

In most cases, the font identifier is system-specific. Although the font remains established once used in a file, the FONT function provides consistent access to a particular font across systems and versions of Visio. It is recommended that you use the FONT function to assign fonts instead of referring to font identifiers directly.

Version Added: Visio 2013

FONT("font_name_string")

Parameters

Name

Required/Optional

Data Type

Description

font_name_string

Required

string

The name of the font.

If the string provided for font_name_string does not match a known font, this function returns a #VALUE! error.

FONT("Calibri")

Returns the integer value (4) representing the unique ID for the "Calibri" font.

Show:
© 2014 Microsoft