[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.EditableRangeCollection

Class EditableRangeCollection

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

Represents a collection of EditableRange elements.

public class EditableRangeCollection : ContentRangeCollection<EditableRange>, IContentList<EditableRange>, IReadOnlyList<EditableRange>, IReadOnlyCollection<EditableRange>, IEnumerable<EditableRange>, IEnumerable
Inheritance
object
EditableRangeCollection
Implements
System.Collections.Generic.IReadOnlyList<T><EditableRange>
System.Collections.Generic.IReadOnlyCollection<T><EditableRange>
System.Collections.Generic.IEnumerable<T><EditableRange>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

this[RangeEditor]

Gets a collection of EditableRange items with specified rights.

public IEnumerable<EditableRange> this[RangeEditor editor] { get; }

Parameters

editor RangeEditor

UserEditor or GroupEditor.

Property Value

System.Collections.Generic.IEnumerable<T><EditableRange>

The collection of EditableRange elements filtered by editor.

Methods

Add(GroupEditor)

Adds an EditableRange into the collection at the Content position.

public EditableRange Add(GroupEditor editor)

Parameters

editor GroupEditor

Editor group.

Returns

EditableRange

The added EditableRange.

Add(UserEditor)

Adds an EditableRange into the collection at the Content position.

public EditableRange Add(UserEditor editor)

Parameters

editor UserEditor

Editor user name.

Returns

EditableRange

The added EditableRange.

Insert(GroupEditor, RangeLocation)

Inserts an EditableRange into the collection at a specified position.

public EditableRange Insert(GroupEditor editor, RangeLocation location)

Parameters

editor GroupEditor

Editor group.

location RangeLocation

A RangeLocation for insertion.

Returns

EditableRange

The inserted EditableRange.

Insert(UserEditor, RangeLocation)

Inserts an EditableRange into the collection at a specified position.

public EditableRange Insert(UserEditor editor, RangeLocation location)

Parameters

editor UserEditor

Editor user name.

location RangeLocation

A RangeLocation for insertion.

Returns

EditableRange

The inserted EditableRange.