ContentControl.DefaultTextStyle Property (2007 System)
Gets the name of the character style that is used to format text in the ContentControl.
Namespace: Microsoft.Office.Tools.Word
Assembly: Microsoft.Office.Tools.Word.v9.0 (in Microsoft.Office.Tools.Word.v9.0.dll)
Syntax
'Declaration
Public Property DefaultTextStyle As Object
'Usage
Dim instance As ContentControl
Dim value As Object
value = instance.DefaultTextStyle
instance.DefaultTextStyle = value
public Object DefaultTextStyle { get; set; }
public:
property Object^ DefaultTextStyle {
Object^ get ();
void set (Object^ value);
}
public function get DefaultTextStyle () : Object
public function set DefaultTextStyle (value : Object)
Property Value
Type: System.Object
The name of the character style to use to format text in the ContentControl. The default is Default Paragraph Font.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.