Window.StyleAreaWidth Property (Word)

Returns or sets the width of the style area in points. Read/write Single.

Syntax

expression .StyleAreaWidth

expression An expression that returns a Window object.

Remarks

When the StyleAreaWidth property is greater than 0 (zero), style names are displayed to the left of the text. The style area isn't visible in print layout or Web layout view.

Example

This example switches the active window to normal view and sets the width of the style area to 1 inch.

With ActiveDocument.ActiveWindow 
 .View.Type = wdNormalView 
 .StyleAreaWidth = InchesToPoints(1) 
End With

See Also

Concepts

Window Object

Window Object Members