IUIHostLocale2.GetDialogFont(UIDLGLOGFONT[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the dialog box font used for the host UI.
public:
int GetDialogFont(cli::array <Microsoft::VisualStudio::Shell::Interop::UIDLGLOGFONT> ^ pLOGFONT);
int GetDialogFont(std::Array <Microsoft::VisualStudio::Shell::Interop::UIDLGLOGFONT> const & pLOGFONT);
public int GetDialogFont (Microsoft.VisualStudio.Shell.Interop.UIDLGLOGFONT[] pLOGFONT);
abstract member GetDialogFont : Microsoft.VisualStudio.Shell.Interop.UIDLGLOGFONT[] -> int
Public Function GetDialogFont (pLOGFONT As UIDLGLOGFONT()) As Integer
Parameters
- pLOGFONT
- UIDLGLOGFONT[]
[out] Pointer to the dialog box font. Values are taken from the UIDLGLOGFONT enumeration.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
This method must be accessed on the main thread.