Add a new document to the epub.

Namespace:  net.hazelhurst.epub
Assembly:  ePubLib (in ePubLib.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public void AddDocument(
	string booksPath,
	string FileName,
	string heading,
	string TOCtitle
)
Visual Basic (Declaration)
Public Sub AddDocument ( _
	booksPath As String, _
	FileName As String, _
	heading As String, _
	TOCtitle As String _
)
Visual C++
public:
void AddDocument(
	String^ booksPath, 
	String^ FileName, 
	String^ heading, 
	String^ TOCtitle
)

Parameters

booksPath
Type: System..::.String
The path to the folder where books are held. This folder should contain the folder 'empty' which holds, among other things, an empty content document. This empty document is copied to the work folder for the current book.
FileName
Type: System..::.String

[Missing <param name="FileName"/> documentation for "M:net.hazelhurst.epub.epub.AddDocument(System.String,System.String,System.String,System.String)"]

heading
Type: System..::.String

[Missing <param name="heading"/> documentation for "M:net.hazelhurst.epub.epub.AddDocument(System.String,System.String,System.String,System.String)"]

TOCtitle
Type: System..::.String
The text that will appear in the table of contents.

See Also