OneNote.Interfaces.ParagraphLoadOptions interface

A container for the visible content on a page. A Paragraph can contain any one ParagraphType type of content.

Remarks

[ API set: OneNoteApi 1.1 ]

Properties

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

id

Gets the ID of the Paragraph object. Read-only.

image

Gets the Image object in the Paragraph. Throws an exception if ParagraphType isn't Image.

inkWords

Gets the Ink collection in the Paragraph. Throws an exception if ParagraphType isn't Ink.

outline

Gets the Outline object that contains the Paragraph.

paragraphs

The collection of paragraphs under this paragraph. Read -nly.

parentParagraph

Gets the parent paragraph object. Throws if a parent paragraph doesn't exist.

parentParagraphOrNull

Gets the parent paragraph object. Returns null if a parent paragraph doesn't exist.

parentTableCell

Gets the TableCell object that contains the Paragraph if one exists. If parent isn't a TableCell, throws ItemNotFound.

parentTableCellOrNull

Gets the TableCell object that contains the Paragraph if one exists. If parent is not a TableCell, returns null.

richText

Gets the RichText object in the Paragraph. Throws an exception if ParagraphType isn't RichText.

table

Gets the Table object in the Paragraph. Throws an exception if ParagraphType isn't Table.

type

Gets the type of the Paragraph object. Read-only.

Property Details

$all

Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).

$all?: boolean;

Property Value

boolean

id

Gets the ID of the Paragraph object. Read-only.

id?: boolean;

Property Value

boolean

Remarks

[ API set: OneNoteApi 1.1 ]

image

Gets the Image object in the Paragraph. Throws an exception if ParagraphType isn't Image.

image?: OneNote.Interfaces.ImageLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

inkWords

Gets the Ink collection in the Paragraph. Throws an exception if ParagraphType isn't Ink.

inkWords?: OneNote.Interfaces.InkWordCollectionLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

outline

Gets the Outline object that contains the Paragraph.

outline?: OneNote.Interfaces.OutlineLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

paragraphs

The collection of paragraphs under this paragraph. Read -nly.

paragraphs?: OneNote.Interfaces.ParagraphCollectionLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentParagraph

Gets the parent paragraph object. Throws if a parent paragraph doesn't exist.

parentParagraph?: OneNote.Interfaces.ParagraphLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentParagraphOrNull

Gets the parent paragraph object. Returns null if a parent paragraph doesn't exist.

parentParagraphOrNull?: OneNote.Interfaces.ParagraphLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentTableCell

Gets the TableCell object that contains the Paragraph if one exists. If parent isn't a TableCell, throws ItemNotFound.

parentTableCell?: OneNote.Interfaces.TableCellLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

parentTableCellOrNull

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

Gets the RichText object in the Paragraph. Throws an exception if ParagraphType isn't RichText.

richText?: OneNote.Interfaces.RichTextLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

table

Gets the Table object in the Paragraph. Throws an exception if ParagraphType isn't Table.

table?: OneNote.Interfaces.TableLoadOptions;

Property Value

Remarks

[ API set: OneNoteApi 1.1 ]

type

Gets the type of the Paragraph object. Read-only.

type?: boolean;

Property Value

boolean

Remarks

[ API set: OneNoteApi 1.1 ]