[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.CopyService

Class CopyService

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Copy range of objects into another range.

public class CopyService
Inheritance
object
CopyService
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

CopyService(FormattingCopyStrategy)

Creates instance of CopyService.

public CopyService(FormattingCopyStrategy styleCopyStrategy)

Parameters

styleCopyStrategy FormattingCopyStrategy

Defines how to copy styles used in copied range

Properties

FormattingCopy

Defines how styles applied on ContentObjects should be copied in destination document.

public FormattingCopyStrategy FormattingCopy { get; set; }

Property Value

FormattingCopyStrategy

Methods

CopyTo(RangeBase, RangeBase, InsertLocation)

Copy range to range.

public Range CopyTo(RangeBase from, RangeBase to, InsertLocation insertLocation = InsertLocation.End)

Parameters

from RangeBase

Source range.

to RangeBase

Destination range.

insertLocation InsertLocation

Defines relative to "to" insert content point.

Returns

Range