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

Class EditableRangeCollection

Provides indexed access to editable ranges in a document.

Inheritance
object
EditableRangeCollection
Implements
IEnumerable<EditableRange>
IEnumerable
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 EditableRangeCollection : IEnumerable<EditableRange>, IEnumerable

Properties

Count

Gets the number of editable ranges.

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

this[int]

Gets an editable range by zero-based index.

Declaration
public EditableRange this[int index] { get; }
Parameters
Type Name Description
int index

The zero-based range index.

Property Value
Type Description
EditableRange

Methods

Add(EditableRange)

Adds an editable range.

Declaration
public void Add(EditableRange range)
Parameters
Type Name Description
EditableRange range

The range to add.

Clear()

Removes all editable ranges.

Declaration
public void Clear()

GetEnumerator()

Returns an enumerator for the editable ranges.

Declaration
public IEnumerator<EditableRange> GetEnumerator()
Returns
Type Description
IEnumerator<EditableRange>

Validate()

Validates marker identifiers, marker pairing, paragraph ownership, and offsets.

Declaration
public EditableRangeValidationResult Validate()
Returns
Type Description
EditableRangeValidationResult

The validation result. Imported malformed ranges remain available for inspection.

Implements

IEnumerable<T>
IEnumerable
Back to top

DR-IT Software documentation

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

Generated by DocFX