Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfFieldCodeSyntax

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Modifiers sealed

Lossless typed syntax for an RTF field instruction.

Inheritance

  • Object
  • RtfFieldCodeSyntax

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

Methods

public static RtfFieldCodeSyntax Parse(String instruction) #
Returns: RtfFieldCodeSyntax

Parses a field instruction without discarding trivia or unknown switches.

Parameters

instruction System.String requiredposition: 0

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 Boolean IsValid { get; } #

Gets whether every quoted argument is terminated.