Table of Contents

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

docObject DocumentObject
filename string

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

docObject DocumentObject
filename string
indent int

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

docObject DocumentObject
filename string
indent int
initialIndent int

WriteToFile(DocumentObjectCollection, string)

Writes a DocumentObjectCollection type object to a DDL file.

public static void WriteToFile(DocumentObjectCollection docObjectContainer, string filename)

Parameters

docObjectContainer DocumentObjectCollection
filename string

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

docObjectContainer DocumentObjectCollection
filename string
indent int

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

docObjectContainer DocumentObjectCollection
filename string
indent int
initialIndent int