次の方法で共有


TextFormattingParagraphProperties Constructors

Definition

Overloads

TextFormattingParagraphProperties(TextFormattingRunProperties)

Initializes a new instance of TextFormattingParagraphProperties.

TextFormattingParagraphProperties(TextFormattingRunProperties, Double)

Initializes a new instance of TextFormattingParagraphProperties.

TextFormattingParagraphProperties(TextFormattingRunProperties)

Initializes a new instance of TextFormattingParagraphProperties.

public:
 TextFormattingParagraphProperties(Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ defaultTextRunProperties);
public TextFormattingParagraphProperties (Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties defaultTextRunProperties);
new Microsoft.VisualStudio.Text.Formatting.TextFormattingParagraphProperties : Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties -> Microsoft.VisualStudio.Text.Formatting.TextFormattingParagraphProperties
Public Sub New (defaultTextRunProperties As TextFormattingRunProperties)

Parameters

defaultTextRunProperties
TextFormattingRunProperties

The default properties for the paragraph.

Exceptions

defaultTextRunProperties is null.

Remarks

This sets the tab size to 4 * the FontRenderingEmSize.

Applies to

TextFormattingParagraphProperties(TextFormattingRunProperties, Double)

Initializes a new instance of TextFormattingParagraphProperties.

public:
 TextFormattingParagraphProperties(Microsoft::VisualStudio::Text::Formatting::TextFormattingRunProperties ^ defaultTextRunProperties, double defaultTabSize);
public TextFormattingParagraphProperties (Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties defaultTextRunProperties, double defaultTabSize);
new Microsoft.VisualStudio.Text.Formatting.TextFormattingParagraphProperties : Microsoft.VisualStudio.Text.Formatting.TextFormattingRunProperties * double -> Microsoft.VisualStudio.Text.Formatting.TextFormattingParagraphProperties
Public Sub New (defaultTextRunProperties As TextFormattingRunProperties, defaultTabSize As Double)

Parameters

defaultTextRunProperties
TextFormattingRunProperties

The default properties for the paragraph.

defaultTabSize
Double

The tab size in pixels.

Exceptions

defaultTextRunProperties or defaultTabSize is null.

Applies to