OneNote.Interfaces.PageContentUpdateData interface
An interface for updating data on the PageContent
object, for use in pageContent.set({ ... })
.
Properties
image | Gets the Image in the PageContent object. Throws an exception if PageContentType isn't Image. |
left | Gets or sets the left (X-axis) position of the PageContent object. |
top | Gets or sets the top (Y-axis) position of the PageContent object. |
Property Details
image
Gets the Image in the PageContent object. Throws an exception if PageContentType isn't Image.
image?: OneNote.Interfaces.ImageUpdateData;
Property Value
Remarks
left
Gets or sets the left (X-axis) position of the PageContent object.
left?: number;
Property Value
number
Remarks
top
Gets or sets the top (Y-axis) position of the PageContent object.
top?: number;
Property Value
number
Remarks
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Office Add-ins