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)

Syntax

'Declaration
<GuidAttribute("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextOut
[GuidAttribute("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")]
[InterfaceTypeAttribute()]
public interface IVsTextOut
[GuidAttribute(L"2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")]
[InterfaceTypeAttribute()]
public interface class IVsTextOut
[<GuidAttribute("2BD8D42F-5BC5-4B7F-AB50-FE9310F2FE53")>]
[<InterfaceTypeAttribute()>]
type IVsTextOut =  interface end
public interface IVsTextOut

The IVsTextOut type exposes the following members.

Methods

  Name Description
Public method VsGetTextExtent 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.
Public method VsTextOut Outputs text to a location specified to a Hardware Device Context (HDC).

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace