nl.siegmann.epublib.domain.Book.getSpine C# (CSharp) Method

getSpine() public method

The sections of the book that should be shown if a user reads the book from start to finish.
public getSpine ( ) : Spine
return Spine
        public Spine getSpine()
        {
            return spine;
        }

Usage Example

Exemplo n.º 1
0
 public void testGetContents1()
 {
     Book book = new Book();
     Resource resource1 = new Resource("id1", System.Text.Encoding.UTF8.GetBytes("Hello, world !"), "chapter1.html", MediatypeService.XHTML);
     book.getSpine().addResource(resource1);
     book.getTableOfContents().addSection(resource1, "My first chapter");
     Assert.AreEqual(1, book.getContents().Count);
 }
All Usage Examples Of nl.siegmann.epublib.domain.Book::getSpine