This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:api [2013/04/01 15:27]
cyo [book]
developer:api [2016/08/09 16:14] (current) [book] Added read only ReadPercentage
Line 141: Line 141:
   book.ShadowYear   book.ShadowYear
 Number - Proposed year. Number - Proposed year.
 +  book.ReadPercentage
 +Integer - Percentage of the book that has been read.
Line 156: Line 158:
   boook.PageCount   boook.PageCount
 The number of pages in the book. The number of pages in the book.
 +  book.SeriesComplete
 +cYo.Projects.ComicRack.Engine.YesNo - The Series Complete field. Valid are YesNo.Yes, YesNo.No and YesNo.Unknown
 +=== Pages ===
 +A collection of book.page objects
 +=== Page ===
 +  book.Pages[#​]
 +The pages, by number (#) in the book
 +  book.Pages[#​].PageType
 +String value representing the type of page referenced by number. ​ Valid values includes are FrontCover, InnerCover, Roundup, Story, Advertisement,​ Editorial, Letters, Preview, BackCover, Other, Deleted
 === Methods === === Methods ===
Line 166: Line 182:
   book.GetCustomValue(key)   book.GetCustomValue(key)
 Returns a previously stored custom value. Returns a previously stored custom value.
 +  book.GetCustomValues()
 +Returns a list of all custom values stored in the book. The result is a list of objects with two properties: Key and Value
   book.Clone()   book.Clone()
 Returns a copy of the current book. Does not add it to the library. Returns a copy of the current book. Does not add it to the library.