'Declaration Public Overrides Sub StartDocument()
public override void StartDocument()
Exception | Description |
---|---|
WordDocumentWriterException | Thrown if the XmlWriter used to create the content could not be opened. |
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.
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