IVsIME::SetFont Method (IntPtr, IntPtr, array<VSIME_ERR>^)
Visual Studio 2015
Sets the fault in the editor window. Provides a wrapper to .ime_6q9g
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Parameters
- hwnd
-
Type:
System::IntPtr
[in] Handle to the editor window.
- hf
-
Type:
System::IntPtr
[in] Handle to the font. If null, uses the default system font.
- perr
-
Type:
array<Microsoft.VisualStudio.Shell.Interop::VSIME_ERR>^
[out] Error return value. Set to zero if there is an error. Nonzero otherwise.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsIME::SetFont( [in] HWND hwnd, [in] HFONT hf, [out] VSIME_ERR * perr );
Show: