We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

IVsTextOut Interface

Exposes the core editor's unicode text measurement and display methods. Implemented by the environment.

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

public interface IVsTextOut

The IVsTextOut type exposes the following members.

Public methodVsGetTextExtentGets the extent of text's Hardware Device Context (HDC), number of characters, and outputs a pointer to the length of the pText parameter. Returns a Windows structure that represents the size of the text.
Public methodVsTextOutOutputs text to a location specified to a Hardware Device Context (HDC).

Implemented by the Environment for Unicode text measurement and display. Exposes the core editor's extended Unicode text measurement and display functionality. Compensates for defects in the Win9x W text APIs.