Modifica

Condividi tramite


TextRunTypographyProperties.SlashedZero Property

Definition

Gets a value that indicates whether a nominal zero font form should be replaced with a slashed zero.

public:
 abstract property bool SlashedZero { bool get(); };
public abstract bool SlashedZero { get; }
member this.SlashedZero : bool
Public MustOverride ReadOnly Property SlashedZero As Boolean

Property Value

true if slashed zero forms are enabled; otherwise, false. The default is false.

Remarks

OpenType fonts support a slashed zero numeral format to emphasize the difference between the letter "O" and the numeral "0". The slashed zero numeral is often used for identifiers in financial and business information.

The following text displays a sample order identifier using the Miramonte font. The first line uses standard numerals. The second line used slashed zero numerals to provide better contrast with the uppercase "O" letter.

Text using OpenType slashed zero numerals
Example of slashed zero numerals

If the value of SlashedZero is true and the selected font does not support slashed zero forms, the default form of the numeral is displayed.

Applies to

See also