API Reference
OneNoteWriterOptions
Controls native offline OneNote serialization.
Inheritance
- Object
- OneNoteWriterOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
- Method OneNoteNotebookWriter.Write
- Method OneNotePackageWriter.Write
- Method OneNotePackageWriter.Write
- Method OneNotePackageWriter.Write
- Method OneNoteSection.Save
- Method OneNoteSection.ToByteArray
- Method OneNoteSectionWriter.Write
- Method OneNoteSectionWriter.Write
- Method OneNoteSectionWriter.Write
- Method OneNoteTableOfContentsWriter.Write
- Method OneNoteTableOfContentsWriter.Write
- Method OneNoteTableOfContentsWriter.Write
Constructors
public OneNoteWriterOptions() #Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public OneNoteStorageFormat StorageFormat { get; set; } #Physical encoding for generated .one and .onetoc2 payloads. Unknown preserves a loaded artifact's source encoding and defaults new artifacts to RevisionStore.
public Int64 MaxOutputBytes { get; set; } #Maximum serialized output size. The default is 512 MiB.
public Int32 MaxInkPathValues { get; set; } #Maximum coordinate and pressure values written for one native ink path.
public Boolean ValidateRoundTrip { get; set; } #Reads the generated artifact back and verifies page identity, order, relationships, structural content, rich-text runs, supported layout/media metadata, and binary payload resolution state before returning it.
public Int32 MaxPackageEntries { get; set; } #Maximum number of files emitted into a notebook directory or .onepkg archive.
public Int32 MaxSectionGroupDepth { get; set; } #Maximum nesting depth for notebook section groups. Values must be from 1 through MaximumTraversalDepth.
public Int32 MaxPageRelationshipDepth { get; set; } #Maximum nesting depth across conflict and version-history page relationships. Values must be from 1 through MaximumTraversalDepth.
public Int32 MaxContentDepth { get; set; } #Maximum recursive nesting depth for outlines, paragraphs, and table-cell content. Values must be from 1 through MaximumTraversalDepth.
public Boolean PreserveUnknownData { get; set; } #Preserves source objects, properties, and relationships that are not replaced by typed edits. This is enabled by default for sections loaded by OfficeIMO.
Fields
public const Int32 MaximumTraversalDepth #Hard maximum accepted for recursive writer traversal limits.
256public const Int32 DefaultMaxContentDepth #Default maximum nesting depth for serializable content elements.
128public const Int32 DefaultMaxSectionGroupDepth #Default maximum nesting depth for notebook section groups.
32