ContentControl.SetUncheckedSymbol Method (Word)
Sets the symbol used to represent the unchecked state of a check box content control.
Version Information
Version Added: Word 2010
Syntax
expression .SetCheckedSymbol(CharacterNumber, Font)
expression An expression that returns a ContentControl object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
CharacterNumber |
Required |
Long |
The Unicode character number for the specified symbol. This value will always be the sum of 31 (the number of control symbols at the beginning of the font) 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 |
Optional |
String |
The name of the font that contains the symbol. |
Example
The following code example sets the unchecked symbol of the specified content control to the "MS Gothic" font "Ballot Box" symbol.
Dim objCC As ContentControl
Set objCC = ActiveDocument.ContentControls.Add (wdContentControlCheckbox)
objCC.SetUncheckedSymbol CharacterNumber:=&H2610, Font:="MS Gothic"