MoveRangeSeparator Class
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.
- Inheritance:
- System.ObjectMoveRangeSeparator
Constructors
MoveRangeSeparator(DocumentModel, Boolean, Boolean, String, String)
Initializes a new instance of the MoveRangeSeparator class.
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.
Property Value
- System.String
The author of the move.
Date
Gets or sets the date when the move was created.
Property Value
- System.DateTime
The date when the move was created.
ElementType
Gets the ElementType of this Element instance.
public override ElementType ElementType { get; }
Public Overrides ReadOnly Property ElementType As ElementType
Property Value
The ElementType of this Element instance.
Overrides
Id
Gets or sets the ID of the move.
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.
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.
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
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) |