Share via


ComplexScriptFont Element

Visio XML Reference

Contains the number of the font used to format text composed of complex script characters. Complex scripts are languages whose characters require ligation or shaping, such as the right-to-left languages (Arabic, Farsi, Hebrew, and Urdu) and several South Asian languages.

Syntax

  <ComplexScriptFont
    [Unit]
    [F]
    [Err]>
</ComplexScriptFont>

Attributes

Unit

Optional string. Represents a unit of measure. The default is NUM. For details about NUM, see Units of measure.

F

Optional string. Represents the element's formula. This attribute can contain one of the following strings: "someFormula" if the formula exists locally, "No Formula" if the formula is locally deleted or blocked, or "Inh" if the formula is inherited.

If the attribute is not present, the element's formula is a simple constant. For example, <element>5</element>.

Err

Optional string. Indicates that the formula evaluates to an error. The value of Err is the current value (an error message string); the value of the element is the last valid value.

Element properties

Property Value
Name ComplexScriptFont 
Minimum Occurrences
Maximum Occurrences

Element information

Parent elements

Char

Child elements

None

Remarks

Font numbers vary according to the fonts installed on your system.

Complex script fonts are listed on the Font tab in the Text dialog box (Format menu). This list appears only if Microsoft Office Visio is set to show complex scripts text on the Regional tab in the Options dialog box (Tools menu).

The number 0 (zero) means that no font is specified. The Latin font or default fonts are used.

The ComplexScriptFont element is relevant only when contained in a Shape or StyleSheet element. It is ignored when contained in a DocumentSheet or PageSheet element.

See also

ComplexScriptFont cell (Character section)