OneNote.Interfaces.ParagraphCollectionLoadOptions interface

表示 Paragraph 对象的集合。

属性

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

id

对于集合中的每个项目: 获取段落对象的 ID。 只读。

image

对于集合中的每个项: 获取段落中的图像对象。 如果 ParagraphType 不是 Image,则引发异常。

inkWords

对于集合中的每个项: 获取段落中的墨迹集合。 如果 ParagraphType 不是墨迹,则引发异常。

outline

对于集合中的每个项: 获取包含段落的大纲对象。

paragraphs

对于集合中的每个项:此段落下的段落集合。 只读。

parentParagraph

For EACH ITEM in the collection: 获取父段落对象。 如果父段落不存在,则引发。

parentParagraphOrNull

For EACH ITEM in the collection: 获取父段落对象。 如果父段落不存在,则返回 null。

parentTableCell

For EACH ITEM in the collection: 获取包含段落的 TableCell 对象(如果存在)。 如果父级不是 TableCell,则引发 ItemNotFound。

parentTableCellOrNull

For EACH ITEM in the collection: 获取包含段落的 TableCell 对象(如果存在)。 如果父级不为 TableCell,则返回 null。

richText

对于集合中的每个项: 获取段落中的 RichText 对象。 如果 ParagraphType 不是 RichText,则引发异常。

table

For EACH ITEM in the collection: 获取段落中的 Table 对象。 如果 ParagraphType 不是 Table,则引发异常。

type

对于集合中的每个项目: 获取 Paragraph 对象的类型。 只读。

属性详细信息

$all

指定加载选项将 $all 加载所有标量属性 ((如 Range.address) ),但不会加载导航属性 ((如 Range.format.fill.color) )。

$all?: boolean;

属性值

boolean

id

对于集合中的每个项目: 获取段落对象的 ID。 只读。

id?: boolean;

属性值

boolean

注解

API 集:OneNoteApi 1.1

image

对于集合中的每个项: 获取段落中的图像对象。 如果 ParagraphType 不是 Image,则引发异常。

image?: OneNote.Interfaces.ImageLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

inkWords

对于集合中的每个项: 获取段落中的墨迹集合。 如果 ParagraphType 不是墨迹,则引发异常。

inkWords?: OneNote.Interfaces.InkWordCollectionLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

outline

对于集合中的每个项: 获取包含段落的大纲对象。

outline?: OneNote.Interfaces.OutlineLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

paragraphs

对于集合中的每个项:此段落下的段落集合。 只读。

paragraphs?: OneNote.Interfaces.ParagraphCollectionLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

parentParagraph

For EACH ITEM in the collection: 获取父段落对象。 如果父段落不存在,则引发。

parentParagraph?: OneNote.Interfaces.ParagraphLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

parentParagraphOrNull

For EACH ITEM in the collection: 获取父段落对象。 如果父段落不存在,则返回 null。

parentParagraphOrNull?: OneNote.Interfaces.ParagraphLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

parentTableCell

For EACH ITEM in the collection: 获取包含段落的 TableCell 对象(如果存在)。 如果父级不是 TableCell,则引发 ItemNotFound。

parentTableCell?: OneNote.Interfaces.TableCellLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

parentTableCellOrNull

For EACH ITEM in the collection: 获取包含段落的 TableCell 对象(如果存在)。 如果父级不为 TableCell,则返回 null。

parentTableCellOrNull?: OneNote.Interfaces.TableCellLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

richText

对于集合中的每个项: 获取段落中的 RichText 对象。 如果 ParagraphType 不是 RichText,则引发异常。

richText?: OneNote.Interfaces.RichTextLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

table

For EACH ITEM in the collection: 获取段落中的 Table 对象。 如果 ParagraphType 不是 Table,则引发异常。

table?: OneNote.Interfaces.TableLoadOptions;

属性值

注解

API 集:OneNoteApi 1.1

type

对于集合中的每个项目: 获取 Paragraph 对象的类型。 只读。

type?: boolean;

属性值

boolean

注解

API 集:OneNoteApi 1.1