MbBook
代表一个已加入 MarginNote 的文档(如 PDF、EPUB)。通过 Database.getDocumentById、Database.allDocuments、或 DocumentController.document 获取。
属性(只读)
Section titled “属性(只读)”| 属性 | 类型 | 说明 |
|---|---|---|
docMd5 | string | 文档唯一 MD5(getter 为 md5real)。 |
docTitle | string | 文档标题(getter 为 bookTitle)。 |
pathFile | string | 文档在 MarginNote 存储中的相对路径。 |
currentTopicId | string | 当前所属笔记本 ID(getter 为 currenttopicid)。 |
lastVisit | NSDate | 最后访问时间。 |
说明:部分文档型 API 中还有 pageCount(总页数),若头文件中存在则可用。