Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfTokenizer

OfficeIMO.Rtf.Syntax

Namespace
OfficeIMO.Rtf.Syntax
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

Tokenizes RTF text into braces, control words, control symbols, text, and binary payloads.

Inheritance

  • object
  • RtfTokenizer

Methods

Tokenize 2 overloads
public static RtfTokenizeResult Tokenize(string rtf) #

Tokenizes RTF content.

Parameters

rtf string required
public static RtfTokenizeResult Tokenize(string rtf, RtfLoadOptions? options, CancellationToken cancellationToken = default) #

Tokenizes RTF content using the configured resource limits and cancellation token.

Parameters

rtf string required
options OfficeIMO.Rtf.RtfLoadOptions? required
cancellationToken System.Threading.CancellationToken = default optional