EpubRootPackageDublinCorePackage Property
Gets the Dublin Core metadata package extracted from the e-book.

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

Property Value

Type: DublinCorePackage
The Dublin Core metadata package extracted from the e-book.

Implements

IDublinCoreDublinCorePackage
Remarks
Examples
This example shows how to extract Dublin Core metadata from an EPUB file.
C#
using (Metadata metadata = new Metadata(Constants.InputEpub))
{
    var root = metadata.GetRootPackage<EpubRootPackage>();

    if (root.DublinCorePackage != null)
    {
        Console.WriteLine(root.DublinCorePackage.Rights);
        Console.WriteLine(root.DublinCorePackage.Publisher);
        Console.WriteLine(root.DublinCorePackage.Title);
        Console.WriteLine(root.DublinCorePackage.Creator);
        Console.WriteLine(root.DublinCorePackage.Language);
        Console.WriteLine(root.DublinCorePackage.Date);

        // ...
    }
}
See Also