Partilhar via


VsTextImage Interface

Definition

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

public interface class VsTextImage : Microsoft::VisualStudio::TextManager::Interop::IVsTextImage
public interface class VsTextImage : Microsoft::VisualStudio::TextManager::Interop::IVsTextImage
__interface VsTextImage : Microsoft::VisualStudio::TextManager::Interop::IVsTextImage
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextImageClass))]
[System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")]
public interface VsTextImage : Microsoft.VisualStudio.TextManager.Interop.IVsTextImage
[System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextImageClass))]
[System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface VsTextImage : Microsoft.VisualStudio.TextManager.Interop.IVsTextImage
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextImageClass))>]
[<System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")>]
type VsTextImage = interface
    interface IVsTextImage
[<System.Runtime.InteropServices.CoClass(typeof(Microsoft.VisualStudio.TextManager.Interop.VsTextImageClass))>]
[<System.Runtime.InteropServices.Guid("67068DC0-C069-11D2-936C-D714766E8B50")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type VsTextImage = interface
    interface IVsTextImage
Public Interface VsTextImage
Implements IVsTextImage
Derived
Attributes
Implements

Methods

AdviseTextImageEvents(IVsTextImageEvents, UInt32)

Registers the environment to receive notification of text image changes.

(Inherited from IVsTextImage)
GetCharSize(Int32)

Returns the number of characters in the text image.

(Inherited from IVsTextImage)
GetLine(UInt32, Int32, Int32, Int32, LINEDATAEX[])

Provides direct, line-oriented access to the text buffer.

(Inherited from IVsTextImage)
GetLineLength(Int32, Int32)

Return the length of a line.

(Inherited from IVsTextImage)
GetLineSize(Int32)

Returns the number of lines in the text image.

(Inherited from IVsTextImage)
GetOffsetOfTextAddress(TextAddress, Int32)

Return the buffer address of a given text address.

(Inherited from IVsTextImage)
GetSpanLength(TextSpan[], Int32)

Return the number of characters in a text span.

(Inherited from IVsTextImage)
GetText(TextSpan[], Int32, UInt16[])

Return the text of a text span.

(Inherited from IVsTextImage)
GetTextAddressOfOffset(Int32, TextAddress[])

Return the text address of a given buffer address.

(Inherited from IVsTextImage)
GetTextBSTR(TextSpan[], String)

Return the text of a text span as a BSTR

(Inherited from IVsTextImage)
LockImage(UInt32)

Notifies that the text image is in use.

(Inherited from IVsTextImage)
ReleaseLine(LINEDATAEX[])

Releases the LINEDATAEX structure.

(Inherited from IVsTextImage)
Replace(UInt32, TextSpan[], Int32, String, TextSpan[])

Notification of a text span replacement.

(Inherited from IVsTextImage)
UnadviseTextImageEvents(UInt32)

Cancels the environment's registration to receive notifications of text image changes.

(Inherited from IVsTextImage)
UnlockImage(UInt32)

Notifies that the text image is not in use.

(Inherited from IVsTextImage)

Applies to