Jaa


ITextRangeProvider.MoveEndpointByRange Method

Definition

Moves one endpoint of a text range to the specified endpoint of a second text range.

public:
 void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider ^ textRangeProvider, TextPatternRangeEndpoint targetEndpoint);
void MoveEndpointByRange(TextPatternRangeEndpoint const& endpoint, ITextRangeProvider const& textRangeProvider, TextPatternRangeEndpoint const& targetEndpoint);
public void MoveEndpointByRange(TextPatternRangeEndpoint endpoint, ITextRangeProvider textRangeProvider, TextPatternRangeEndpoint targetEndpoint);
function moveEndpointByRange(endpoint, textRangeProvider, targetEndpoint)
Public Sub MoveEndpointByRange (endpoint As TextPatternRangeEndpoint, textRangeProvider As ITextRangeProvider, targetEndpoint As TextPatternRangeEndpoint)

Parameters

endpoint
TextPatternRangeEndpoint

The endpoint to move.

textRangeProvider
ITextRangeProvider

Another range from the same text provider.

targetEndpoint
TextPatternRangeEndpoint

An endpoint on the other range.

Applies to