TextFormattingParagraphProperties Constructor (TextFormattingRunProperties)
Initializes a new instance of TextFormattingParagraphProperties.
Namespace: Microsoft.VisualStudio.Text.Formatting
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Dichiarazione
Public Sub New ( _
defaultTextRunProperties As TextFormattingRunProperties _
)
public TextFormattingParagraphProperties(
TextFormattingRunProperties defaultTextRunProperties
)
public:
TextFormattingParagraphProperties(
TextFormattingRunProperties^ defaultTextRunProperties
)
new :
defaultTextRunProperties:TextFormattingRunProperties -> TextFormattingParagraphProperties
public function TextFormattingParagraphProperties(
defaultTextRunProperties : TextFormattingRunProperties
)
Parameters
- defaultTextRunProperties
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The default properties for the paragraph.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | defaultTextRunProperties is nulla null reference (Nothing in Visual Basic). |
Remarks
This sets the tab size to 4 * the FontRenderingEmSize of defaultTextRunProperties.
.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.
See Also
Reference
TextFormattingParagraphProperties Class