Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfFieldCodeSyntax

OfficeIMO.Rtf

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

Lossless typed syntax for an RTF field instruction.

Inheritance

  • object
  • RtfFieldCodeSyntax

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

Methods

public static RtfFieldCodeSyntax Parse(string instruction) #

Parses a field instruction without discarding trivia or unknown switches.

Parameters

instruction string required

Properties

public string Text { get; } #

Gets the exact authored field instruction.

public string? Keyword { get; } #

Gets the decoded leading field keyword.

public IReadOnlyList<RtfFieldCodeToken> Tokens { get; } #

Gets every token, including whitespace, in authored order.

public bool IsValid { get; } #

Gets whether every quoted argument is terminated.