OneNote.Interfaces.ParagraphCollectionLoadOptions interface

Represents a collection of Paragraph objects.

Remarks

[ API set: OneNoteApi 1.1 ]

Properties

$all

Specifying $all for the LoadOptions loads all the scalar properties (e.g.: Range.address) but not the navigational properties (e.g.: Range.format.fill.color).

id

For EACH ITEM in the collection: Gets the ID of the Paragraph object. Read-only.

image

For EACH ITEM in the collection: Gets the Image object in the Paragraph. Throws an exception if ParagraphType is not Image.

inkWords

For EACH ITEM in the collection: Gets the Ink collection in the Paragraph. Throws an exception if ParagraphType is not Ink.

outline

For EACH ITEM in the collection: Gets the Outline object that contains the Paragraph.

paragraphs

For EACH ITEM in the collection: The collection of paragraphs under this paragraph. Read only

parentParagraph

For EACH ITEM in the collection: Gets the parent paragraph object. Throws if a parent paragraph does not exist.

parentParagraphOrNull

For EACH ITEM in the collection: Gets the parent paragraph object. Returns null if a parent paragraph does not exist.

parentTableCell

For EACH ITEM in the collection: Gets the TableCell object that contains the Paragraph if one exists. If parent is not a TableCell, throws ItemNotFound.

parentTableCellOrNull

For EACH ITEM in the collection: Gets the TableCell object that contains the Paragraph if one exists. If parent is not a TableCell, returns null.

richText

For EACH ITEM in the collection: Gets the RichText object in the Paragraph. Throws an exception if ParagraphType is not RichText.

table

For EACH ITEM in the collection: Gets the Table object in the Paragraph. Throws an exception if ParagraphType is not Table.

type

For EACH ITEM in the collection: Gets the type of the Paragraph object. Read-only.

Property Details

$all

Specifying $all for the LoadOptions loads all the scalar properties (e.g.: Range.address) but not the navigational properties (e.g.: Range.format.fill.color).

$all?: boolean;

Property Value

boolean

id

For EACH ITEM in the collection: Gets the ID of the Paragraph object. Read-only.

id?: boolean;

Property Value

boolean

Remarks

[ API set: OneNoteApi 1.1 ]

image

For EACH ITEM in the collection: Gets the Image object in the Paragraph. Throws an exception if ParagraphType is not Image.

image?: OneNote.Interfaces.ImageLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

inkWords

For EACH ITEM in the collection: Gets the Ink collection in the Paragraph. Throws an exception if ParagraphType is not Ink.

inkWords?: OneNote.Interfaces.InkWordCollectionLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

outline

For EACH ITEM in the collection: Gets the Outline object that contains the Paragraph.

outline?: OneNote.Interfaces.OutlineLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

paragraphs

For EACH ITEM in the collection: The collection of paragraphs under this paragraph. Read only

paragraphs?: OneNote.Interfaces.ParagraphCollectionLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentParagraph

For EACH ITEM in the collection: Gets the parent paragraph object. Throws if a parent paragraph does not exist.

parentParagraph?: OneNote.Interfaces.ParagraphLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentParagraphOrNull

For EACH ITEM in the collection: Gets the parent paragraph object. Returns null if a parent paragraph does not exist.

parentParagraphOrNull?: OneNote.Interfaces.ParagraphLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentTableCell

For EACH ITEM in the collection: Gets the TableCell object that contains the Paragraph if one exists. If parent is not a TableCell, throws ItemNotFound.

parentTableCell?: OneNote.Interfaces.TableCellLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentTableCellOrNull

For EACH ITEM in the collection: Gets the TableCell object that contains the Paragraph if one exists. If parent is not a TableCell, returns null.

parentTableCellOrNull?: OneNote.Interfaces.TableCellLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

richText

For EACH ITEM in the collection: Gets the RichText object in the Paragraph. Throws an exception if ParagraphType is not RichText.

richText?: OneNote.Interfaces.RichTextLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

table

For EACH ITEM in the collection: Gets the Table object in the Paragraph. Throws an exception if ParagraphType is not Table.

table?: OneNote.Interfaces.TableLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

type

For EACH ITEM in the collection: Gets the type of the Paragraph object. Read-only.

type?: boolean;

Property Value

boolean

Remarks

[ API set: OneNoteApi 1.1 ]