IMarkupServices::Copy Method

Copies the specified text between markers to a target location.

Syntax

HRESULT Copy(
    IMarkupPointer *pPointerSourceStart,
    IMarkupPointer *pPointerSourceFinish,
    IMarkupPointer *pPointerTarget
);

Parameters

  • pPointerSourceStart
    [in] Pointer to an IMarkupPointer interface that specifies the start point of text to be copied.
  • pPointerSourceFinish
    [in] Pointer to an IMarkupPointer interface that specifies the end point of text to be copied.
  • pPointerTarget
    [in] Pointer to an IMarkupPointer interface that specifies the target point of insertion.

Return Value

Returns S_OK if successful, or an error value otherwise.

See Also

IMarkupServices::Move