API Reference
OneNoteSection
A OneNote section and its ordered pages.
Inheritance
- Object
- OneNoteSection
Usage
Explore 10 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 OneNoteNotebook.Sections
- Property OneNotePageReference.Section
- Property OneNoteSectionGroup.Sections
- Method OneNoteSectionReader.Read
Accepted by parameters 6
- Method OneNoteImageExportExtensions.ExportImages
- Method OneNoteImageExportExtensions.ToImages
- Method OneNotePageTraversal.Flatten
- Extension method OneNoteSection.ExportImages
- Extension method OneNoteSection.ToImages
- Method OneNoteSectionWriter.Write
Constructors
public OneNoteSection() #Methods
public Void Save(String path, OneNoteWriterOptions? options = null) #VoidWrites this section to an offline .one file.
Parameters
- path System.String
- options OfficeIMO.OneNote.OneNoteWriterOptions? = null
public Byte[] ToByteArray(OneNoteWriterOptions? options = null) #Byte[]Serializes this section as an offline .one payload.
Parameters
- options OfficeIMO.OneNote.OneNoteWriterOptions? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public UInt32? TableOfContentsOrder { get; set; } #Relative navigation order among sibling sections and section groups when loaded from or written to a notebook TOC. Items without an explicit order follow ordered items in their collection order.
public Guid? Id { get; set; } #Section identity when available. Serialization assigns and retains an identity for a new section.
public OneNoteStorageFormat StorageFormat { get; internal set; } #Physical encoding of the loaded section, or unknown for a newly created section.
public UInt32? ColorArgb { get; set; } #Section color encoded as ARGB, when present.
public IList<OneNotePage> Pages { get; } #Ordered top-level pages and subpages.
public IList<OneNoteRevision> Revisions { get; } #Revision metadata associated with the section object space.
public IList<OneNoteOpaqueObject> UnknownObjects { get; } #Opaque section objects preserved for loss-aware writing.
public IList<OneNoteDiagnostic> Diagnostics { get; } #Diagnostics produced while loading the section.
Extension Methods
public static IReadOnlyList<OfficeImageExportResult> ExportImages(OneNoteSection section, OfficeImageExportFormat format, OneNotePageBatchRenderingOptions? options = null) #IReadOnlyList<OfficeImageExportResult>Exports selected section pages using the shared five-format result contract.
Parameters
- section OfficeIMO.OneNote.OneNoteSection
- format OfficeIMO.Drawing.OfficeImageExportFormat
- options OfficeIMO.OneNote.OneNotePageBatchRenderingOptions? = null
public static OneNotePageImageBatchExportBuilder ToImages(OneNoteSection section) #OneNotePageImageBatchExportBuilderStarts batch PNG/JPEG/TIFF/SVG/WebP export for all section pages.
Parameters
- section OfficeIMO.OneNote.OneNoteSection
public static OneNotePageImageBatchExportBuilder ToImages(OneNoteSection section, OneNotePageBatchRenderingOptions options) #OneNotePageImageBatchExportBuilderStarts batch export using a cloned options snapshot.
Parameters
- section OfficeIMO.OneNote.OneNoteSection
- options OfficeIMO.OneNote.OneNotePageBatchRenderingOptions