IVsTextOut Interface

Definition

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

public interface class IVsTextOut
Attributes

Remarks

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.

Methods

VsGetTextExtent(IntPtr, Int32, UInt16[], SIZE[])
VsGetTextExtent(UInt32, Int32, UInt16[], SIZE[])

Gets 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.

VsTextOut(IntPtr, Int32, UInt16[], UInt32, Int32, Int32, RECT[])
VsTextOut(UInt32, Int32, UInt16[], UInt32, Int32, Int32, RECT[])

Outputs text to a location specified to a Hardware Device Context (HDC).

Applies to

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022