API Reference
OneNotePage
A OneNote page, including subpage level, content, revisions, and conflict metadata.
Inheritance
- Object
- OneNotePage
Usage
Explore 12 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property OneNotePage.ConflictPages
- Property OneNotePage.VersionHistory
- Property OneNotePageReference.Page
- Property OneNoteSection.Pages
Accepted by parameters 8
- Method OneNoteImageExportExtensions.ExportImage
- Method OneNoteImageExportExtensions.ToDrawing
- Method OneNoteImageExportExtensions.ToImage
- Extension method OneNotePage.ExportImage
- Extension method OneNotePage.ToDrawing
- Extension method OneNotePage.ToImage
- Method OneNotePageRenderer.CreateSnapshot
- Method OneNotePageRenderer.Render
Constructors
public OneNotePage() #Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public OneNoteExtendedGuid? Id { get; set; } #Page object-space identity when available. Serialization assigns and retains an identity for a new page.
public OneNoteExtendedGuid? RevisionContextId { get; set; } #Revision context identity for a historical page snapshot. Serialization assigns it when needed.
public DateTime? LastModifiedUtc { get; set; } #Most recent page modification time.
public Boolean IsVersionHistoryPage { get; set; } #Whether this is a version-history page.
public Boolean IsDeleted { get; set; } #Whether the page is marked as deleted content.
public Double? Width { get; set; } #Optional width in OneNote half-inch layout units.
public Double? Height { get; set; } #Optional height in OneNote half-inch layout units.
public OneNotePageSize? PageSize { get; set; } #Named native page size, or automatic sizing when absent.
public OneNotePageMargins Margins { get; } #Page margins and their layout origins, in half-inch units.
public Boolean? RightToLeft { get; set; } #Whether the page uses right-to-left root layout.
public Boolean? ResolveChildCollisions { get; set; } #Whether OneNote resolves collisions between freely positioned outlines.
public IList<OneNoteOutline> Outlines { get; } #Page-level outlines in source order.
public IList<OneNoteElement> DirectContent { get; } #Content placed directly on the page outside outlines.
public IList<OneNotePage> ConflictPages { get; } #Conflict pages associated with this page.
public IList<OneNotePage> VersionHistory { get; } #Version-history snapshots associated with this page.
public IList<OneNoteRevision> Revisions { get; } #Revision metadata associated with the page object space.
public IList<OneNoteOpaqueObject> UnknownObjects { get; } #Opaque page objects preserved for loss-aware writing.
public IList<OneNoteDiagnostic> Diagnostics { get; } #Diagnostics produced while loading the page.
Extension Methods
public static OfficeImageExportResult ExportImage(OneNotePage page, OfficeImageExportFormat format, OneNotePageRenderingOptions? options = null, CancellationToken cancellationToken = default) #OfficeImageExportResultExports a page using the shared five-format result contract.
Parameters
- page OfficeIMO.OneNote.OneNotePage
- format OfficeIMO.Drawing.OfficeImageExportFormat
- options OfficeIMO.OneNote.OneNotePageRenderingOptions? = null
- cancellationToken System.Threading.CancellationToken = default
public static OfficeDrawing ToDrawing(OneNotePage page, OneNotePageRenderingOptions? options = null) #OfficeDrawingCreates the reusable Drawing scene for a page.
Parameters
- page OfficeIMO.OneNote.OneNotePage
- options OfficeIMO.OneNote.OneNotePageRenderingOptions? = null
public static OneNotePageImageExportBuilder ToImage(OneNotePage page) #OneNotePageImageExportBuilderStarts fluent PNG/JPEG/TIFF/SVG/WebP export for a page.
Parameters
- page OfficeIMO.OneNote.OneNotePage
public static OneNotePageImageExportBuilder ToImage(OneNotePage page, OneNotePageRenderingOptions options) #OneNotePageImageExportBuilderStarts fluent export using a cloned options snapshot.
Parameters
- page OfficeIMO.OneNote.OneNotePage
- options OfficeIMO.OneNote.OneNotePageRenderingOptions