Version

StartDocument Method (WordprocessingMLWriter)

Starts a WordprocessingML document.
Syntax
'Declaration
 
Public Overrides Sub StartDocument() 
public override void StartDocument()
Exceptions
ExceptionDescription
WordDocumentWriterExceptionThrown if the XmlWriter used to create the content could not be opened.
Remarks

This method starts the <document> and <body> elements for the wordprocessingML document. Callers are responsible for closing all elements written to the document stream. The <document> and <body> elements can be closed by calling the EndDocument method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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