IUIHostLocale2::GetDialogFont Method (array<UIDLGLOGFONT>^)

 

Returns the dialog box font used for the host UI.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int GetDialogFont(
	array<UIDLGLOGFONT>^ pLOGFONT
)

Parameters

pLOGFONT
Type: array<Microsoft.VisualStudio.Shell.Interop::UIDLGLOGFONT>^

[out] Pointer to the dialog box font. Values are taken from the UIDLGLOGFONT enumeration.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From uilocale.idl:

HRESULT IUIHostLocale2::GetDialogFont(
   [out] UIDLGLOGFONT *plogfont
);
Return to top
Show: