Version

StartParagraph(ParagraphProperties) Method

Starts a new paragraph in the document.
Syntax
'Declaration
 
Public Overloads Overrides Sub StartParagraph( _
   ByVal properties As ParagraphProperties _
) 
public override void StartParagraph( 
   ParagraphProperties properties
)

Parameters

properties
A ParagraphProperties instance which defines properties such as alignment and indentation for the paragraph. An new instance of this class can be obtained by calling the CreateParagraphProperties method.
Exceptions
ExceptionDescription
WordDocumentWriterExceptionThrown if no document is currently open.
Remarks

This method starts a <p> element. Callers are responsible for closing this element. The <p> element can be closed by calling the EndParagraph method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also