Partager via


IVsTextOut Interface

Definition

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

public interface class IVsTextOut
public interface class IVsTextOut
__interface IVsTextOut
[System.Runtime.InteropServices.Guid("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsTextOut
[System.Runtime.InteropServices.Guid("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsTextOut
[<System.Runtime.InteropServices.Guid("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsTextOut = interface
[<System.Runtime.InteropServices.Guid("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsTextOut = interface
Public Interface 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