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)
Syntax
声明
<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")> _
Public Interface VsTextImage _
Inherits IVsTextImage
[GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")]
public interface VsTextImage : IVsTextImage
[GuidAttribute(L"67068DC0-C069-11D2-936C-D714766E8B50")]
public interface class VsTextImage : IVsTextImage
[<GuidAttribute("67068DC0-C069-11D2-936C-D714766E8B50")>]
type VsTextImage =
interface
interface IVsTextImage
end
public interface VsTextImage extends IVsTextImage
The VsTextImage type exposes the following members.
Methods
Name | Description | |
---|---|---|
AdviseTextImageEvents | Registers the environment to receive notification of text image changes. (Inherited from IVsTextImage.) | |
GetCharSize | Returns the number of characters in the text image. (Inherited from IVsTextImage.) | |
GetLine | Provides direct, line-oriented access to the text buffer. (Inherited from IVsTextImage.) | |
GetLineLength | Return the length of a line. (Inherited from IVsTextImage.) | |
GetLineSize | Returns the number of lines in the text image. (Inherited from IVsTextImage.) | |
GetOffsetOfTextAddress | Return the buffer address of a given text address. (Inherited from IVsTextImage.) | |
GetSpanLength | Return the number of characters in a text span. (Inherited from IVsTextImage.) | |
GetText | Return the text of a text span. (Inherited from IVsTextImage.) | |
GetTextAddressOfOffset | Return the text address of a given buffer address. (Inherited from IVsTextImage.) | |
GetTextBSTR | Return the text of a text span as a BSTR (Inherited from IVsTextImage.) | |
LockImage | Notifies that the text image is in use. (Inherited from IVsTextImage.) | |
ReleaseLine | Releases the LINEDATAEX structure. (Inherited from IVsTextImage.) | |
Replace | Notification of a text span replacement. (Inherited from IVsTextImage.) | |
UnadviseTextImageEvents | Cancels the environment's registration to receive notifications of text image changes. (Inherited from IVsTextImage.) | |
UnlockImage | Notifies that the text image is not in use. (Inherited from IVsTextImage.) |
Top