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)


<FlagsAttribute> _
Public Enumeration WordWrapStyles
public enum WordWrapStyles
public enum class WordWrapStyles
type WordWrapStyles
public enum WordWrapStyles


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.


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

See Also


Microsoft.VisualStudio.Text.Editor Namespace