EpubPackage

EpubRootPackage.EpubPackage property

Gets the EPUB metadata package.

public EpubPackage EpubPackage { get; }

Property Value

The EPUB metadata package.

Remarks

Learn more

Examples

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);
}

See Also