Udostępnij za pośrednictwem


ITextImageVersion.TrackTo Method

Definition

Overloads

TrackTo(VersionedPosition, PointTrackingMode)

Translate a position in another ITextImageVersion to this ITextImageVersion.

TrackTo(VersionedSpan, SpanTrackingMode)

Translate a span in another ITextImageVersion to this ITextImageVersion.

TrackTo(VersionedPosition, PointTrackingMode)

Translate a position in another ITextImageVersion to this ITextImageVersion.

public:
 int TrackTo(Microsoft::VisualStudio::Text::VersionedPosition other, Microsoft::VisualStudio::Text::PointTrackingMode mode);
public int TrackTo (Microsoft.VisualStudio.Text.VersionedPosition other, Microsoft.VisualStudio.Text.PointTrackingMode mode);
abstract member TrackTo : Microsoft.VisualStudio.Text.VersionedPosition * Microsoft.VisualStudio.Text.PointTrackingMode -> int
Public Function TrackTo (other As VersionedPosition, mode As PointTrackingMode) As Integer

Parameters

Returns

Applies to

TrackTo(VersionedSpan, SpanTrackingMode)

Translate a span in another ITextImageVersion to this ITextImageVersion.

public:
 Microsoft::VisualStudio::Text::Span TrackTo(Microsoft::VisualStudio::Text::VersionedSpan span, Microsoft::VisualStudio::Text::SpanTrackingMode mode);
public Microsoft.VisualStudio.Text.Span TrackTo (Microsoft.VisualStudio.Text.VersionedSpan span, Microsoft.VisualStudio.Text.SpanTrackingMode mode);
abstract member TrackTo : Microsoft.VisualStudio.Text.VersionedSpan * Microsoft.VisualStudio.Text.SpanTrackingMode -> Microsoft.VisualStudio.Text.Span
Public Function TrackTo (span As VersionedSpan, mode As SpanTrackingMode) As Span

Parameters

Returns

Applies to