Edit

Share via


TextRange2.InsertSymbol(String, Int32, MsoTriState) Method

Definition

Inserts a symbol from the specified font set into the range of text represented by the TextRange2 object.

public Microsoft.Office.Core.TextRange2 InsertSymbol (string FontName, int CharNumber, Microsoft.Office.Core.MsoTriState Unicode = Microsoft.Office.Core.MsoTriState.msoFalse);
abstract member InsertSymbol : string * int * Microsoft.Office.Core.MsoTriState -> Microsoft.Office.Core.TextRange2
Public Function InsertSymbol (FontName As String, CharNumber As Integer, Optional Unicode As MsoTriState = Microsoft.Office.Core.MsoTriState.msoFalse) As TextRange2

Parameters

FontName
String

The name of the font set.

CharNumber
Int32

The number of the symbol.

Unicode
MsoTriState

Indicates whether the value of the symbol is specified as a unicode value.

Returns

TextRange2

Applies to