共用方式為


IFormattedLineSource.WordWrapWidth Property

Gets the width (in logical pixels) where the formatted text will be broken into multiple lines.

Namespace:  Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'宣告
ReadOnly Property WordWrapWidth As Double
double WordWrapWidth { get; }
property double WordWrapWidth {
    double get ();
}
abstract WordWrapWidth : float
function get WordWrapWidth () : double

Property Value

Type: System.Double
The width (in logical pixels) where the formatted text will be broken into multiple lines.

Remarks

The value 0.0 means that lines should never be broken.

.NET Framework Security

See Also

Reference

IFormattedLineSource Interface

Microsoft.VisualStudio.Text.Formatting Namespace