IVsTextOut::VsTextOut Method (UInt32, Int32, array<UInt16>^, UInt32, Int32, Int32, array<RECT>^)
Visual Studio 2015
Outputs text to a location specified to a Hardware Device Context (HDC).
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int VsTextOut( unsigned int hdc, int cch, array<unsigned short>^ pText, unsigned int grfETO, int x, int y, array<RECT>^ prc )
Parameters
- hdc
-
Type:
System::UInt32
[in] Pointer to a long type to a hardware device context (HDC).
- cch
-
Type:
System::Int32
[in] Number of characters, or -1 if null-terminated.
- pText
-
Type:
array<System::UInt16>^
[in] OLE String that represents the text.
- grfETO
-
Type:
System::UInt32
[in] ExtTextOut flags.
- x
-
Type:
System::Int32
[in] X coordinate of the text location.
- y
-
Type:
System::Int32
[in] Y coordinate of the text location.
- prc
-
Type:
array<Microsoft.VisualStudio.OLE.Interop::RECT>^
[in] A Windows rectangle (a struct).
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsTextOut::VsTextOut( [in] DWORD_PTR hdc, [in] int cch, [in, size_is(cch)] LPCOLESTR pText, [in] DWORD grfETO, [in] int x, [in] int y );
Show: