static public BookPage EmptyPage(int number) { var sampleText = "This is the page number " + number + System.Environment.NewLine; sampleText += "It's time to make it perfect!"; var page = new BookPage(number, sampleText); return(page); }
public static Book TemplateBook() { Book book = new Book(); book.Name = "The Greatest Book Ever"; book.Author = "My Mom"; book.Annotation = "The book tells a wonderful story about a book creation process."; book.FontName = "Arial"; var page = new BookPage(1, "The content" + System.Environment.NewLine + "of first book page"); page.Pictures = new List <Picture> (); book.Pages = new List <BookPage> (); book.Pages.Add(page); book.CurrentPageIndex = 0; return(book); }