ContentControl::SetPlaceholderText method
Office 2013 and later
Sets the placeholder text that displays in the content control until a user enters their own text.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Parameters
- BuildingBlock
- Type: Microsoft.Office.Interop.Word.BuildingBlock
Specifies a BuildingBlock object that contains the contents of the placeholder text.
- Range
- Type: Microsoft.Office.Interop.Word.Range
Specifies a Range object that contains the contents of the placeholder text.
- Text
- Type: System.String
Specifies the contents of the placeholder text.
Show: