Export (0) Print
Expand All

IVsTextImage Interface

Supports text string matching.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

[GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")]
[InterfaceTypeAttribute()]
public interface IVsTextImage

The IVsTextImage type exposes the following members.

  NameDescription
Public methodAdviseTextImageEventsRegisters the environment to receive notification of text image changes.
Public methodGetCharSizeReturns the number of characters in the text image.
Public methodGetLineProvides direct, line-oriented access to the text buffer.
Public methodGetLineLengthReturn the length of a line.
Public methodGetLineSizeReturns the number of lines in the text image.
Public methodGetOffsetOfTextAddressReturn the buffer address of a given text address.
Public methodGetSpanLengthReturn the number of characters in a text span.
Public methodGetTextReturn the text of a text span.
Public methodGetTextAddressOfOffsetReturn the text address of a given buffer address.
Public methodGetTextBSTRReturn the text of a text span as a BSTR
Public methodLockImageNotifies that the text image is in use.
Public methodReleaseLineReleases the LINEDATAEX structure.
Public methodReplaceNotification of a text span replacement.
Public methodUnadviseTextImageEventsCancels the environment's registration to receive notifications of text image changes.
Public methodUnlockImageNotifies that the text image is not in use.
Top

Notes to Implementers

Implement this interface to support find and replace in a text image.

Show:
© 2014 Microsoft