API Reference
OneNoteSection
A OneNote section and its ordered pages.
Inheritance
- Object
- OneNoteSection
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OneNoteNotebook.Sections
- Property OneNotePageReference.Section
- Property OneNoteSectionGroup.Sections
- Method OneNoteSectionReader.Read
- Method OneNoteSectionReader.Read
Accepted by parameters
- Method OneNoteImageExportExtensions.ExportImages
- Method OneNoteImageExportExtensions.ToImages
- Method OneNoteImageExportExtensions.ToImages
- Method OneNotePageTraversal.Flatten
- Extension method OneNoteSection.ExportImages
- Extension method OneNoteSection.ToImages
- Extension method OneNoteSection.ToImages
- Method OneNoteSectionWriter.Write
- Method OneNoteSectionWriter.Write
- 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 override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public Nullable<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 Nullable<Guid> Id { get; set; } #Section identity when available. Serialization assigns and retains an identity for a new section.
public String Name { get; set; } #Section display name.
public String SourcePath { get; set; } #Source .one path or package entry.
public OneNoteStorageFormat StorageFormat { get; set; } #Physical encoding of the loaded section, or unknown for a newly created section.
public Nullable<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
- arg1 OfficeIMO.OneNote.OneNoteSection
- arg2 OfficeIMO.Drawing.OfficeImageExportFormat
- arg3 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