GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    MoveRangeSeparator Class

    Namespace:
    GemBox.Document.Tracking
    Assembly:
    GemBox.Document.dll

    Represents an element that is used to start or end a move range. The types of separators are:

    • MoveFromRangeStart - the start of the range that wraps the elements that were moved from this position.
    • MoveFromRangeEnd - the end of the range that wraps the elements that were moved from this position.
    • MoveToRangeStart - the start of the range that wraps the elements that were moved to this position.
    • MoveToRangeEnd - the end of the range that wraps the elements that were moved to this position.
    • C#
    • VB.NET
    public class MoveRangeSeparator : Inline
    Public Class MoveRangeSeparator
        Inherits Inline
    Inheritance:
    System.Object
    Element
    Inline
    MoveRangeSeparator

    Constructors

    MoveRangeSeparator(DocumentModel, Boolean, Boolean, String, String)

    Initializes a new instance of the MoveRangeSeparator class.

    • C#
    • VB.NET
    public MoveRangeSeparator(DocumentModel document, bool isStart, bool isFrom, string id, string name)
    Public Sub New(document As DocumentModel, isStart As Boolean, isFrom As Boolean, id As String, name As String)
    Parameters
    document
    DocumentModel

    The owner document.

    isStart
    System.Boolean

    The value indicating whether this element is the start of the move range or the end.

    isFrom
    System.Boolean

    The value indicating whether this element represents the position from which the contained elements were moved or the position to which the contained elements were moved.

    id
    System.String

    The ID of the move. Id

    name
    System.String

    The name of the move. Name

    Properties

    Author

    Gets or sets the author of the move.

    • C#
    • VB.NET
    public string Author { get; set; }
    Public Property Author As String
    Property Value
    System.String

    The author of the move.

    Date

    Gets or sets the date when the move was created.

    • C#
    • VB.NET
    public DateTime Date { get; set; }
    Public Property Date As Date
    Property Value
    System.DateTime

    The date when the move was created.

    ElementType

    Gets the ElementType of this Element instance.

    • C#
    • VB.NET
    public override ElementType ElementType { get; }
    Public Overrides ReadOnly Property ElementType As ElementType
    Property Value
    ElementType

    The ElementType of this Element instance.

    Overrides
    Element.ElementType

    Id

    Gets or sets the ID of the move.

    • C#
    • VB.NET
    public string Id { get; }
    Public ReadOnly Property Id As String
    Property Value
    System.String

    The ID of the move.

    Remarks

    The IDs of the move range's start and end should match in order for MS Word to display the move correctly.

    IsFrom

    Gets or sets a value indicating whether this element represents the position from which the contained elements were moved or the position to which the contained elements were moved.

    • C#
    • VB.NET
    public bool IsFrom { get; }
    Public ReadOnly Property IsFrom As Boolean
    Property Value
    System.Boolean

    The value indicating whether this elements represents the position from which the contained elements were moved or the position to which the contained elements were moved.

    IsStart

    Gets or sets a value indicating whether this element is the start of the move range or the end.

    • C#
    • VB.NET
    public bool IsStart { get; }
    Public ReadOnly Property IsStart As Boolean
    Property Value
    System.Boolean

    The value indicating whether this element is the start of the move range or the end.

    Name

    Gets or sets the name of the move. The name is used to tie together the move from and move to elements

    • C#
    • VB.NET
    public string Name { get; }
    Public ReadOnly Property Name As String
    Property Value
    System.String

    The name of the move.

    Remarks

    The name of the move from range and the move to range should match in order for MS Word to display the move correctly. The name of the end range is null and setting it's value has no effect.

    Inherited Properties

    Content

    Gets the content of the current Element.

    (Inherited from Element)

    Document

    Gets the owner document.

    (Inherited from Element)

    Parent

    Gets the parent of this Element instance.

    (Inherited from Element)

    ParentCollection

    Gets the InlineCollection that contains this Inline instance.

    (Inherited from Inline)

    Revision

    Gets or sets the revision information for the inline.

    (Inherited from Inline)

    Inherited Methods

    Clone(System.Boolean)

    Clones this Inline instance.

    (Inherited from Inline)

    GetChildElements(System.Boolean)

    Gets the child elements.

    (Inherited from Element)

    GetChildElements(System.Boolean, ElementType[])

    Gets the child elements filtered by ElementType.

    (Inherited from Element)

    GetParentElements()

    Gets the parent elements.

    (Inherited from Element)

    GetParentElements(ElementType[])

    Gets the parent elements.

    (Inherited from Element)

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.