ITextImageVersion.TrackTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- other
- VersionedPosition
- mode
- PointTrackingMode
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
- span
- VersionedSpan
- mode
- SpanTrackingMode