次の方法で共有


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

'宣言
Public Sub New ( _
    defaultTextRunProperties As TextFormattingRunProperties _
)
public TextFormattingParagraphProperties(
    TextFormattingRunProperties defaultTextRunProperties
)
public:
TextFormattingParagraphProperties(
    TextFormattingRunProperties^ defaultTextRunProperties
)
new : 
        defaultTextRunProperties:TextFormattingRunProperties -> TextFormattingParagraphProperties
public function TextFormattingParagraphProperties(
    defaultTextRunProperties : TextFormattingRunProperties
)

Parameters

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

See Also

Reference

TextFormattingParagraphProperties Class

TextFormattingParagraphProperties Overload

Microsoft.VisualStudio.Text.Formatting Namespace