共用方式為


WordWrapStyles Enumeration

Sets a bitwise combination of enumeration values to specify the word wrap style of an ITextView.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration WordWrapStyles
[FlagsAttribute]
public enum WordWrapStyles
[FlagsAttribute]
public enum class WordWrapStyles
[<FlagsAttribute>]
type WordWrapStyles
public enum WordWrapStyles

Members

Member name Description
None Word wrap is disabled.
WordWrap Word wrap is enabled.
VisibleGlyphs If word wrap is enabled, use visible glyphs.
AutoIndent If word wrap is enabled, use auto-indent.

Remarks

The VisibleGlyphs and AutoIndent bits will have no effect unless the WordWrap bit is also set.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace