EpubRootPackageEpubPackage Property
Gets the EPUB metadata package.

Namespace: GroupDocs.Metadata.Formats.Ebook
Assembly: GroupDocs.Metadata (in GroupDocs.Metadata.dll) Version: 21.8
Syntax
public EpubPackage EpubPackage { get; }

Property Value

Type: EpubPackage
The EPUB metadata package.
Remarks
Examples
This code sample shows how to read EPUB format-specific metadata properties.
C#
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