ContentControl.SetCheckedSymbol(Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the symbol used to represent the checked state of a ContentControl that represents a check box control.
public void SetCheckedSymbol (int CharacterNumber, string Font = "");
abstract member SetCheckedSymbol : int * string -> unit
Public Sub SetCheckedSymbol (CharacterNumber As Integer, Optional Font As String = "")
Parameters
- CharacterNumber
- Int32
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
- String
The name of the font that contains the symbol.
Exceptions
This property is used in a Word 2007 project.
The Type property does not have the value Microsoft.Office.Interop.Word.WdContentControlType.wdContentControlCheckBox.
Remarks
This property can be used only if the ContentControl represents a check box content control.
Note
This method appears in IntelliSense in Word 2007 projects that target the .NET Framework 4. However, this property cannot be used in Word 2007 projects.