API Reference

Class

OneNoteReaderOptions

Namespace OfficeIMO.OneNote
Assembly OfficeIMO.OneNote
Modifiers sealed

Safety and compatibility limits applied while reading OneNote artifacts.

Inheritance

  • Object
  • OneNoteReaderOptions

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

Accepted by parameters

Constructors

Properties

public Nullable<Int64> MaxInputBytes { get; set; } #

Maximum input size when the source length is available. Set to null only when the caller deliberately accepts unbounded source sizes.

public Int32 MaxFileNodeListFragments { get; set; } #

Maximum file-node-list fragments followed while resolving a revision store.

public Int32 MaxFileNodes { get; set; } #

Maximum number of file nodes retained while following file-node lists.

public Int32 MaxTransactionLogFragments { get; set; } #

Maximum transaction-log fragments followed while resolving committed file-node counts.

public Int32 MaxTransactionEntries { get; set; } #

Maximum transaction entries inspected while resolving committed file-node counts.

public Int32 MaxObjects { get; set; } #

Maximum object declarations retained while resolving a revision store.

public Int32 MaxPropertiesPerObject { get; set; } #

Maximum properties retained for one object.

public Int32 MaxPropertySetDepth { get; set; } #

Maximum recursive nesting depth for child property sets.

public Int32 MaxPageGraphNodes { get; set; } #

Maximum distinct current, conflict, and version-history object-space references traversed from one section.

public Int32 MaxPageRelationshipDepth { get; set; } #

Maximum nesting depth across conflict and version-history page relationships.

public Int32 MaxInkPathValues { get; set; } #

Maximum decoded coordinate and pressure values retained for one native ink path.

public Int64 MaxAssetBytes { get; set; } #

Maximum bytes materialized for one image or embedded file.

public Int64 MaxTotalAssetBytes { get; set; } #

Maximum bytes materialized across all assets in one read operation.

public Int32 MaxStreamObjects { get; set; } #

Maximum number of stream objects decoded from an alternative package-store file.

public Int32 MaxStreamObjectDepth { get; set; } #

Maximum nesting depth for compound stream objects in an alternative package-store file.

public Boolean StrictHeaderValidation { get; set; } #

When true, violations of required header values fail immediately. When false, recoverable mismatches are returned as diagnostics where safe continuation is possible.

public Boolean ValidateTransactionChecksums { get; set; } #

When true, transaction sentinel checksums are validated before their file-node counts are accepted. Set to false only for compatibility with a known producer that emits non-conforming checksums.

public Boolean PreserveUnknownData { get; set; } #

When true, unsupported objects and properties retain their encoded bytes for later round-trip writing.

Fields

public const Int64 DefaultMaxInputBytes #

Default maximum input size: 512 MiB.

Value: 536870912
public const Int32 DefaultMaxFileNodeListFragments #

Maximum number of file-node-list fragments followed from one file.

Value: 100000
public const Int32 DefaultMaxFileNodes #

Maximum number of file nodes retained from one revision store.

Value: 2000000
public const Int32 DefaultMaxTransactionLogFragments #

Maximum number of transaction-log fragments followed from one revision store.

Value: 100000
public const Int32 DefaultMaxTransactionEntries #

Maximum number of transaction entries inspected from one revision store.

Value: 4000000
public const Int32 DefaultMaxObjects #

Maximum number of object declarations retained from one file.

Value: 1000000
public const Int32 DefaultMaxPropertiesPerObject #

Maximum number of properties retained for one object.

Value: 65536
public const Int32 DefaultMaxPropertySetDepth #

Maximum nesting depth for child property sets.

Value: 128
public const Int32 DefaultMaxPageGraphNodes #

Maximum number of distinct page object-space references traversed from one section.

Value: 100000
public const Int32 DefaultMaxPageRelationshipDepth #

Maximum nesting depth across conflict and version-history page relationships.

Value: 128
public const Int32 DefaultMaxInkPathValues #

Maximum decoded coordinate and pressure values retained for one native ink path.

Value: 1000000
public const Int64 DefaultMaxAssetBytes #

Maximum bytes retained for one embedded asset.

Value: 67108864
public const Int64 DefaultMaxTotalAssetBytes #

Maximum bytes retained across embedded assets.

Value: 268435456
public const Int32 DefaultMaxStreamObjects #

Maximum MS-FSSHTTPB stream objects decoded from one package.

Value: 2000000
public const Int32 DefaultMaxStreamObjectDepth #

Maximum nesting depth of compound MS-FSSHTTPB stream objects.

Value: 256