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
'Dichiarazione
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
- defaultTextRunProperties
Type: Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties
The default properties for the paragraph.
- defaultTabSize
Type: System.Double
The tab size in pixels.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | defaultTextRunProperties or defaultTabSize is nulla null reference (Nothing in Visual Basic). |
.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