[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Marker

Class Marker

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

Represents a marker pointing to a position in a document relative to a specific ContentObject.

The marker can point to a position at the start of an object (Start, at the end of an object (see End, or to a position occupied by a whole childless object (Whole.

If the marker belongs to a PersistentRange, it can be used even if its ContentObject has been deleted.

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

Properties

Content

Gets the ContentObject with which this marker is associated.

public ContentObject Content { get; }

Property Value

ContentObject

EndSection

Gets the Section which ends in this marker.

public Section EndSection { get; }

Property Value

Section

Next

Gets the next Marker in the body order.

public Marker Next { get; }

Property Value

Marker

Previous

Gets the previous Marker in the body order.

public Marker Previous { get; }

Property Value

Marker

StartSection

Gets the Section which starts in this marker.

public Section StartSection { get; }

Property Value

Section

Type

Gets the marker type.

public MarkerType Type { get; }

Property Value

MarkerType

Methods

ToString()

Gets string representation of the marker.

public override string ToString()

Returns

string

String representation of the marker.

ToString(string)

Gets string representation of the marker.

public string ToString(string indent)

Parameters

indent string

The indent string before representation.

Returns

string

String representation of the marker.