OneNote.Interfaces.ImageLoadOptions interface
Represents an Image. An Image can be a direct child of a PageContent object or a Paragraph object.
Remarks
Properties
$all | Specifying |
description | Gets or sets the description of the Image. |
height | Gets or sets the height of the Image layout. |
hyperlink | Gets or sets the hyperlink of the Image. |
id | Gets the ID of the Image object. Read-only. |
ocr |
Gets the data obtained by OCR (Optical Character Recognition) of this Image, such as OCR text and language. |
page |
Gets the PageContent object that contains the Image. Throws if the Image isn't a direct child of a PageContent. This object defines the position of the Image on the page. |
paragraph | Gets the Paragraph object that contains the Image. Throws if the Image isn't a direct child of a Paragraph. |
width | Gets or sets the width of the Image layout. |
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
description
Gets or sets the description of the Image.
description?: boolean;
Property Value
boolean
Remarks
height
Gets or sets the height of the Image layout.
height?: boolean;
Property Value
boolean
Remarks
hyperlink
Gets or sets the hyperlink of the Image.
hyperlink?: boolean;
Property Value
boolean
Remarks
id
Gets the ID of the Image object. Read-only.
id?: boolean;
Property Value
boolean
Remarks
ocrData
Gets the data obtained by OCR (Optical Character Recognition) of this Image, such as OCR text and language.
ocrData?: boolean;
Property Value
boolean
Remarks
pageContent
Gets the PageContent object that contains the Image. Throws if the Image isn't a direct child of a PageContent. This object defines the position of the Image on the page.
pageContent?: OneNote.Interfaces.PageContentLoadOptions;
Property Value
Remarks
paragraph
Gets the Paragraph object that contains the Image. Throws if the Image isn't a direct child of a Paragraph.
paragraph?: OneNote.Interfaces.ParagraphLoadOptions;
Property Value
Remarks
width
Gets or sets the width of the Image layout.
width?: boolean;
Property Value
boolean
Remarks
Office Add-ins