[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.RangeBase.MoveTo

MoveTo Method

MoveTo(RangeBase, InsertLocation, FormattingCopyStrategy)

Moves this range to another range.

Declaration
public Range MoveTo(RangeBase to, InsertLocation insertLocation, FormattingCopyStrategy copyStrategy = FormattingCopyStrategy.Copy)
Public Function MoveTo([to] As RangeBase, insertLocation As InsertLocation, Optional copyStrategy As FormattingCopyStrategy = FormattingCopyStrategy.Copy) As Range
Parameters
Type Name Description
RangeBase to

The destination range.

InsertLocation insertLocation

The target location relative to the destination range.

FormattingCopyStrategy copyStrategy

Indicates whether to preserve the source formatting.

Returns
Type Description
Range

A Range value representing the moved content.