Book

A Book is the object model for an epub file.

Members

Variables

attachments
Attachment[] attachments;

Attachments (extra files) to include in the epub.

author
string author;

The author of the book.

chapters
Chapter[] chapters;

The chapters of the book, in the order to present them.

cover
Cover cover;

The cover page to generate. If not set, no cover page is generated.

coverImage
Attachment coverImage;

The attachment to use as a cover image.

coverid
string coverid;

The fileid of the cover image, which should be present as an attachment.

id
string id;

The ID of the book. If you don't specify one, we will create it for you.

title
string title;

The title of the book.

Meta