[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.ContentMark

Class ContentMark

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

Represents a mark (start or end) for ContentRange objects like bookmarks or comments. Derived classes include CommentStart, CommentEnd, CommentReference, BookmarkStart, BookmarkEnd, FieldChar, EditableRangeStartand EditableRangeEnd.

public class ContentMark : ContentObject
Inheritance
object
ContentMark
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Owner

Gets the parent ContentRange object the start or end of which the current mark represents.

public ContentRange Owner { get; }

Property Value

ContentRange

Methods

Delete()

Overridden. This method always throws an exception, because a ContentMark cannot be deleted - it is deleted automatically with its owner.

public override void Delete()

Exceptions

System.NotSupportedException

Raises at every attempt to execute this method.