IVsTextImage Methods

 

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

NameDescription
System_CAPS_pubmethodAdviseTextImageEvents(IVsTextImageEvents^, UInt32)

Registers the environment to receive notification of text image changes.

System_CAPS_pubmethodGetCharSize(Int32)

Returns the number of characters in the text image.

System_CAPS_pubmethodGetLine(UInt32, Int32, Int32, Int32, array<LINEDATAEX>^)

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

System_CAPS_pubmethodGetLineLength(Int32, Int32)

Return the length of a line.

System_CAPS_pubmethodGetLineSize(Int32)

Returns the number of lines in the text image.

System_CAPS_pubmethodGetOffsetOfTextAddress(TextAddress, Int32)

Return the buffer address of a given text address.

System_CAPS_pubmethodGetSpanLength(array<TextSpan>^, Int32)

Return the number of characters in a text span.

System_CAPS_pubmethodGetText(array<TextSpan>^, Int32, array<UInt16>^)

Return the text of a text span.

System_CAPS_pubmethodGetTextAddressOfOffset(Int32, array<TextAddress>^)

Return the text address of a given buffer address.

System_CAPS_pubmethodGetTextBSTR(array<TextSpan>^, String^)

Return the text of a text span as a BSTR

System_CAPS_pubmethodLockImage(UInt32)

Notifies that the text image is in use.

System_CAPS_pubmethodReleaseLine(array<LINEDATAEX>^)

Releases the LINEDATAEX structure.

System_CAPS_pubmethodReplace(UInt32, array<TextSpan>^, Int32, String^, array<TextSpan>^)

Notification of a text span replacement.

System_CAPS_pubmethodUnadviseTextImageEvents(UInt32)

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

System_CAPS_pubmethodUnlockImage(UInt32)

Notifies that the text image is not in use.

Return to top
Show: