Paragraphs.SpaceAfterAuto Property

Determines if Microsoft Word automatically sets the amount of spacing after the specified paragraphs.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property SpaceAfterAuto As Integer
    Get
    Set
'Usage
Dim instance As Paragraphs
Dim value As Integer

value = instance.SpaceAfterAuto

instance.SpaceAfterAuto = value
int SpaceAfterAuto { get; set; }

Property Value

Type: System.Int32

Remarks

This property returns True if Word automatically sets the amount of spacing after the specified paragraphs, and False if not. Set the property value to True or False to enable or disable the functionality.

This property returns wdUndefined if the SpaceAfterAuto property is set to True for only some of the specified paragraphs.

When you open an HTML document without cascading style sheets, Word automatically sets the SpaceAfterAuto property to True to render the paragraph spacing exactly as it would appear in a Web browser.

If SpaceAfterAuto is set to True, the SpaceAfter property is ignored.

See Also

Reference

Paragraphs Interface

Paragraphs Members

Microsoft.Office.Interop.Word Namespace