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.

coverFontPreferences
string[] coverFontPreferences;

Preferred fonts for the book's cover.

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.

generator
string generator;

The name of the program that generated this ebook.

height
uint height;

Target size for generated covers.

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.

width
uint width;

Target size for generated covers.

Meta