Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfReadLimits

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

Resource budgets for RTF reading. Limits must be positive; a nullable limit set to null is not enforced.

Inheritance

  • object
  • RtfReadLimits

Usage

Explore 2 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 2

Constructors

public RtfReadLimits() #

Methods

public RtfReadLimits Clone() #

Returns an independent copy of these limits.

Properties

public int MaxDepth { get; set; } #

Maximum nested group depth accepted by the syntax parser and semantic binder.

public long? MaxInputBytes { get; set; } #

Maximum source bytes accepted by byte, file, and stream APIs.

public int? MaxInputCharacters { get; set; } #

Maximum source characters accepted before tokenization.

public int? MaxTokens { get; set; } #

Maximum number of tokenizer output tokens, including the end-of-file token.

public int? MaxGroups { get; set; } #

Maximum number of source groups.

public long? MaxTextCharacters { get; set; } #

Maximum total number of source text characters represented by text tokens.

public int? MaxBinaryPayloadBytes { get; set; } #

Maximum bytes in one \bin payload.

public long? MaxTotalBinaryBytes { get; set; } #

Maximum total bytes across \bin payloads.

public int? MaxImages { get; set; } #

Maximum number of semantic images.

public int? MaxImageBytes { get; set; } #

Maximum decoded bytes in one semantic image.

public long? MaxTotalImageBytes { get; set; } #

Maximum decoded bytes across semantic images.

public int? MaxObjects { get; set; } #

Maximum number of semantic embedded or linked objects.

public int? MaxObjectBytes { get; set; } #

Maximum decoded bytes in one semantic object.

public long? MaxTotalObjectBytes { get; set; } #

Maximum decoded bytes across semantic objects.

public int? MaxSemanticBlocks { get; set; } #

Maximum number of semantic document blocks produced by binding.

Fields

public const int DefaultMaxDepth #

Default maximum nested group depth accepted by the parser.

Value: 128
public const int CompatibilityMaxDepth #

Maximum depth used by the explicit legacy compatibility profile.

Value: 512