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 is not 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 is not 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
Office Add-ins
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for