API Reference
Class
RtfSyntaxParser
Parses RTF tokens into a nested syntax tree.
Inheritance
- Object
- RtfSyntaxParser
Methods
Parse 3 overloads
public static RtfSyntaxTree Parse(String rtf) #Returns:
RtfSyntaxTreeParses RTF text into a syntax tree.
Parameters
- rtf System.String
public static RtfSyntaxTree Parse(String rtf, Int32 maxDepth) #Returns:
RtfSyntaxTreeParses RTF text into a syntax tree while limiting nested group depth.
Parameters
- rtf System.String
- maxDepth System.Int32
public static RtfSyntaxTree Parse(String rtf, RtfReadOptions options, CancellationToken cancellationToken = default) #Returns:
RtfSyntaxTreeParses RTF text using the configured resource limits and cancellation token.
Parameters
- rtf System.String
- options OfficeIMO.Rtf.RtfReadOptions
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object