EpubPackage
Leave feedback
On this page
Gets the EPUB metadata package.
public EpubPackage EpubPackage { get; }
The EPUB metadata package.
Learn more
This code sample shows how to read EPUB format-specific metadata properties.
using (Metadata metadata = new Metadata(Constants.InputEpub))
{
var root = metadata.GetRootPackage<EpubRootPackage>();
Console.WriteLine(root.EpubPackage.Version);
Console.WriteLine(root.EpubPackage.UniqueIdentifier);
Console.WriteLine(root.EpubPackage.ImageCover != null ? root.EpubPackage.ImageCover.Length : 0);
}
- class EpubPackage
- class EpubRootPackage
- namespace GroupDocs.Metadata.Formats.Ebook
- assembly GroupDocs.Metadata
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.