Share via


Style.NextParagraphStyle Property 

Returns or sets the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. Read/write Object.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim style1 As Style

Dim returnValue As Object
returnValue = style1.NextParagraphStyle

Dim sampleValue As Object
style1.NextParagraphStyle = sampleValue

Syntax

Property NextParagraphStyle() As Object
object NextParagraphStyle {get; set;}
property Object^ NextParagraphStyle{
    Object^ get();
    Void set(Object^);
}
public System.Object get_NextParagraphStyle();
public void set_NextParagraphStyle(System.Object);
function get NextParagraphStyle() : Object;
function set NextParagraphStyle(Object);

Remarks

To set this property, specify either the local name of the next style, an integer or a WdBuiltinStyle constant, or an object that represents the next style.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Style Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Style Members