Edit

Share via


Word.SelectionInsertSymbolOptions interface

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Represents the options for the Selection.insertSymbol method.

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

Properties

bias

If provided, specifies the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. The default value is default.

font

If provided, specifies the name of the font that contains the symbol.

unicode

If provided, specifies whether the character is Unicode. true to insert the Unicode character specified by the characterNumber property when the Selection.insertSymbol method is called; false to instead insert the ANSI character specified by the characterNumber property. The default value is false.

Property Details

bias

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. The default value is default.

bias?: Word.FontBias | "Standard" | "FarEast" | "NoSpecified";

Property Value

Word.FontBias | "Standard" | "FarEast" | "NoSpecified"

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

font

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the name of the font that contains the symbol.

font?: string;

Property Value

string

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

unicode

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies whether the character is Unicode. true to insert the Unicode character specified by the characterNumber property when the Selection.insertSymbol method is called; false to instead insert the ANSI character specified by the characterNumber property. The default value is false.

unicode?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]