• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class ReplacingArgs

Provides information about a match supplied to a replacing callback.

Inheritance
object
ReplacingArgs
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Document
Assembly: DRIT.Document.dll
Syntax
public sealed class ReplacingArgs

Properties

Match

Gets the range containing the matched text.

Declaration
public ContentRange Match { get; }
Property Value
Type Description
ContentRange

MatchNode

Gets the run or paragraph containing the start of the match.

Declaration
public Node MatchNode { get; }
Property Value
Type Description
Node

MatchOffset

Gets the absolute offset of the match in the owning story.

Declaration
public int MatchOffset { get; }
Property Value
Type Description
int

Replacement

Gets or sets the replacement text to apply when the callback returns Replace.

Declaration
public string Replacement { get; set; }
Property Value
Type Description
string
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX