Static method to create a new epub publication.

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

Syntax

C#
public static epub Create(
	string booksPath,
	string newDocPath,
	out string workPath,
	string title,
	string creator,
	string identifier,
	string language,
	string date,
	string publisher,
	string description
)
Visual Basic (Declaration)
Public Shared Function Create ( _
	booksPath As String, _
	newDocPath As String, _
	<OutAttribute> ByRef workPath As String, _
	title As String, _
	creator As String, _
	identifier As String, _
	language As String, _
	date As String, _
	publisher As String, _
	description As String _
) As epub
Visual C++
public:
static epub^ Create(
	String^ booksPath, 
	String^ newDocPath, 
	[OutAttribute] String^% workPath, 
	String^ title, 
	String^ creator, 
	String^ identifier, 
	String^ language, 
	String^ date, 
	String^ publisher, 
	String^ description
)

Parameters

booksPath
Type: System..::.String
The file-system path where the .epub will be stored.
newDocPath
Type: System..::.String
The configured path where empty documents can be found.
workPath
Type: System..::.String %
Returned by the method, this parameter holds the file-system path where the new epub files are stored.
title
Type: System..::.String
The title of the new book (excluding the .epub extension)
creator
Type: System..::.String
The author of the book in the format in which it would be displayed to the reader e.g. Colin Hazlehurst
identifier
Type: System..::.String
The unique identifier to be associated with the book.
language
Type: System..::.String
A language code complying with RFC3066.
date
Type: System..::.String
The publication date of the new book
publisher
Type: System..::.String
The name of the book's publisher
description
Type: System..::.String
A description of the book

Return Value

epub

See Also