Method WriteToFile
- Namespace
- MigraDoc.DocumentObjectModel.IO
- Assembly
- MigraDoc.DocumentObjectModel.dll
WriteToFile(DocumentObject, string)
Writes a document object to a DDL file.
public static void WriteToFile(DocumentObject docObject, string filename)
Parameters
docObjectDocumentObjectfilenamestring
WriteToFile(DocumentObject, string, int)
Writes a document object to a DDL file. Indent a new block by the specified number of characters.
public static void WriteToFile(DocumentObject docObject, string filename, int indent)
Parameters
docObjectDocumentObjectfilenamestringindentint
WriteToFile(DocumentObject, string, int, int)
Writes a DocumentObject type object to a DDL file. Indent a new block by indent + initialIndent characters.
public static void WriteToFile(DocumentObject docObject, string filename, int indent, int initialIndent)
Parameters
docObjectDocumentObjectfilenamestringindentintinitialIndentint
WriteToFile(DocumentObjectCollection, string)
Writes a DocumentObjectCollection type object to a DDL file.
public static void WriteToFile(DocumentObjectCollection docObjectContainer, string filename)
Parameters
docObjectContainerDocumentObjectCollectionfilenamestring
WriteToFile(DocumentObjectCollection, string, int)
Writes a DocumentObjectCollection type object to a DDL file. Indent a new block by indent + initialIndent characters.
public static void WriteToFile(DocumentObjectCollection docObjectContainer, string filename, int indent)
Parameters
docObjectContainerDocumentObjectCollectionfilenamestringindentint
WriteToFile(DocumentObjectCollection, string, int, int)
Writes a DocumentObjectCollection type object to a DDL file. Indent a new block by indent + initialIndent characters.
public static void WriteToFile(DocumentObjectCollection docObjectContainer, string filename, int indent, int initialIndent)
Parameters
docObjectContainerDocumentObjectCollectionfilenamestringindentintinitialIndentint