Compartir a través de


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

'Declaration
<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
Public method AdviseTextImageEvents Registers the environment to receive notification of text image changes. (Inherited from IVsTextImage.)
Public method GetCharSize Returns the number of characters in the text image. (Inherited from IVsTextImage.)
Public method GetLine Provides direct, line-oriented access to the text buffer. (Inherited from IVsTextImage.)
Public method GetLineLength Return the length of a line. (Inherited from IVsTextImage.)
Public method GetLineSize Returns the number of lines in the text image. (Inherited from IVsTextImage.)
Public method GetOffsetOfTextAddress Return the buffer address of a given text address. (Inherited from IVsTextImage.)
Public method GetSpanLength Return the number of characters in a text span. (Inherited from IVsTextImage.)
Public method GetText Return the text of a text span. (Inherited from IVsTextImage.)
Public method GetTextAddressOfOffset Return the text address of a given buffer address. (Inherited from IVsTextImage.)
Public method GetTextBSTR Return the text of a text span as a BSTR (Inherited from IVsTextImage.)
Public method LockImage Notifies that the text image is in use. (Inherited from IVsTextImage.)
Public method ReleaseLine Releases the LINEDATAEX structure. (Inherited from IVsTextImage.)
Public method Replace Notification of a text span replacement. (Inherited from IVsTextImage.)
Public method UnadviseTextImageEvents Cancels the environment's registration to receive notifications of text image changes. (Inherited from IVsTextImage.)
Public method UnlockImage Notifies that the text image is not in use. (Inherited from IVsTextImage.)

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace