[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.RangeBase.CopyTo

CopyTo Method

CopyTo(RangeBase, InsertLocation, FormattingCopyStrategy)

Copies this range to another range.

Declaration
public Range CopyTo(RangeBase to, InsertLocation insertLocation, FormattingCopyStrategy copyStrategy = FormattingCopyStrategy.Copy)
Public Function CopyTo([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 copied content.