[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ReplacingArgs

Class ReplacingArgs

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the details about a found text.

public class ReplacingArgs
Inheritance
object
ReplacingArgs
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

EndIndex

Gets the zero-based end position of the match from the start of the last Text object that contains the ending of the match. If match doesnt ends with Text object, it will be -1.

public int EndIndex { get; }

Property Value

int

FoundText

Gets the matched text.

public string FoundText { get; }

Property Value

string

MatchRange

Gets the match range.

public Range MatchRange { get; }

Property Value

Range

RegexDetails

Gets the match details.

public MatchDetails RegexDetails { get; }

Property Value

MatchDetails

Replacement

Gets or sets the replacement string.

public string Replacement { get; set; }

Property Value

string

StartIndex

Gets a zero-based starting position of the match from the start of the first Text object that contains the beginning of the match. If match doesnt start from Text object, it will be -1.

public int StartIndex { get; }

Property Value

int