Selection.InsertSymbol Method

Inserts a symbol in place of the specified selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Sub InsertSymbol ( _
    CharacterNumber As Integer, _
    ByRef Font As Object, _
    ByRef Unicode As Object, _
    ByRef Bias As Object _
)
'Usage
Dim instance As Selection
Dim CharacterNumber As Integer
Dim Font As Object
Dim Unicode As Object
Dim Bias As Object

instance.InsertSymbol(CharacterNumber, _
    Font, Unicode, Bias)
void InsertSymbol(
    int CharacterNumber,
    ref Object Font,
    ref Object Unicode,
    ref Object Bias
)

Parameters

  • CharacterNumber
    Type: System.Int32
    Required Integer. The character number for the specified symbol. This value will always be the sum of 31 and the number that corresponds to the position of the symbol in the table of symbols (counting from left to right). For example, to specify a delta character at position 37 in the table of symbols in the Symbol font, set CharacterNumber to 68.
  • Font
    Type: System.Object%
    Optional Object. The name of the font that contains the symbol.
  • Unicode
    Type: System.Object%
    Optional Object. True to insert the Unicode character specified by CharacterNumber; False to insert the ANSI character specified by CharacterNumber. The default value is False.
  • Bias
    Type: System.Object%
    Optional Object. Sets the font bias for symbols. This argument is useful for setting the correct font bias for East Asian characters. Can be one of the following WdFontBias constants: wdFontBiasDefault, wdFontBiasDontCare, or wdFontBiasFareast. This argument may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Remarks

If you don't want to replace the selection, use the Collapse method before you use this method.

See Also

Reference

Selection Interface

Selection Members

Microsoft.Office.Interop.Word Namespace