Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / RangeBase Class / CopyTo Method
The destination range.
The target location relative to the destination range.
Indicates whether to preserve the source formatting.

In This Topic
    CopyTo Method (RangeBase)
    In This Topic
    Copies this range to another range.
    Syntax
    'Declaration
     
    Public Function CopyTo( _
       ByVal to As RangeBase, _
       ByVal insertLocation As InsertLocation, _
       Optional ByVal copyStrategy As FormattingCopyStrategy _
    ) As Range

    Parameters

    to
    The destination range.
    insertLocation
    The target location relative to the destination range.
    copyStrategy
    Indicates whether to preserve the source formatting.

    Return Value

    A Range value representing the copied content.
    See Also