다음을 통해 공유


TextFormattingParagraphProperties Constructor (TextFormattingRunProperties, Double)

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

'Declaration
Public Sub New ( _
    defaultTextRunProperties As TextFormattingRunProperties, _
    defaultTabSize As Double _
)
public TextFormattingParagraphProperties(
    TextFormattingRunProperties defaultTextRunProperties,
    double defaultTabSize
)
public:
TextFormattingParagraphProperties(
    TextFormattingRunProperties^ defaultTextRunProperties, 
    double defaultTabSize
)
new : 
        defaultTextRunProperties:TextFormattingRunProperties * 
        defaultTabSize:float -> TextFormattingParagraphProperties
public function TextFormattingParagraphProperties(
    defaultTextRunProperties : TextFormattingRunProperties, 
    defaultTabSize : double
)

Parameters

  • defaultTabSize
    Type: Double

    The tab size in pixels.

Exceptions

Exception Condition
ArgumentNullException

defaultTextRunProperties or defaultTabSize is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

TextFormattingParagraphProperties Class

TextFormattingParagraphProperties Overload

Microsoft.VisualStudio.Text.Formatting Namespace