Font.DiacriticColor Property

Word Developer Reference

Returns or sets the 24-bit color to be used for diacritics for the specified Font object. Read/write.

Syntax

expression.DiacriticColor

expression   Required. A variable that represents a Font object.

Remarks

This property can be any valid WdColor constant or a value returned by Visual Basic's RGB function. The value of the UseDiffDiacColor property must be True to use this property.

Example

This example sets the color for diacritics to blue in the current selection.

Visual Basic for Applications
  If Options.UseDiffDiacColor = True Then _
    Selection.Font.DiacriticColor = wdColorBlue

See Also