Description
Writes the internal document structure to file on disk.

Namespace: Docs.Word
Assembly: Docs.Word (in Docs.Word.dll) Version: 2.3.0.0 (2.3)

Syntax

         
 C#  Visual Basic  Visual C++ 
public bool WriteDocument(
	string FileName,
	DocumentFormat DocFormat
)
Public Function WriteDocument ( _
	FileName As String, _
	DocFormat As DocumentFormat _
) As Boolean
public:
bool WriteDocument(
	String^ FileName, 
	DocumentFormat DocFormat
)

Parameters

FileName
String
Name of file.
DocFormat
DocumentFormat
Document format.

Return Value

Error code (-1 if error, 0 if successful).

See Also