Exemplo n.º 1
0
        public static async Task <string> GetContentsAsync(this EBook ebook, SpineItem spineItem)
        {
            var manifestItem = ebook.Manifest[spineItem.IdRef];

            return(await ebook.GetContentsAsync(manifestItem));
        }
Exemplo n.º 2
0
        public static string GetContents(this EBook eBook, SpineItem item, bool embedImages = false, bool embedStyles = false)
        {
            var manifestItem = eBook.Manifest[item.IdRef];

            return(GetContents(eBook, manifestItem, embedImages, embedStyles));
        }