Document Solutions for Word
DS.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / CopyService Class / CopyTo Method
Source range.
Destination range.
Defines relative to "to" insert content point.

In This Topic
    CopyTo Method (CopyService)
    In This Topic
    Copy range to range.
    Syntax
    'Declaration
     
    Public Function CopyTo( _
       ByVal from As RangeBase, _
       ByVal to As RangeBase, _
       Optional ByVal insertLocation As InsertLocation _
    ) As Range
    public Range CopyTo( 
       RangeBase from,
       RangeBase to,
       InsertLocation insertLocation
    )

    Parameters

    from
    Source range.
    to
    Destination range.
    insertLocation
    Defines relative to "to" insert content point.
    See Also