Export (0) Print
Expand All

VsTextImage Interface

Represents the image that is persisted and unpersisted. Represents the range of text that is viewable and editable by text editor views.

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

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

The VsTextImage type exposes the following members.

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