Skip to content

Latest commit

 

History

History
72 lines (59 loc) · 2.53 KB

nf-shobjidl_core-ipreviewhandlervisuals-setfont.md

File metadata and controls

72 lines (59 loc) · 2.53 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shobjidl_core.IPreviewHandlerVisuals.SetFont
IPreviewHandlerVisuals::SetFont (shobjidl_core.h)
Sets the font attributes to be used for text within the preview handler.
IPreviewHandlerVisuals interface [Windows Shell]
SetFont method
IPreviewHandlerVisuals.SetFont
IPreviewHandlerVisuals::SetFont
SetFont
SetFont method [Windows Shell]
SetFont method [Windows Shell]
IPreviewHandlerVisuals interface
_shell_IPreviewHandlerVisuals_SetFont
shell.IPreviewHandlerVisuals_SetFont
shobjidl_core/IPreviewHandlerVisuals::SetFont
shell\IPreviewHandlerVisuals_SetFont.htm
shell
f329e2ad-ec79-4542-b7ef-ff38bda6e8cc
12/05/2018
IPreviewHandlerVisuals interface [Windows Shell],SetFont method, IPreviewHandlerVisuals.SetFont, IPreviewHandlerVisuals::SetFont, SetFont, SetFont method [Windows Shell], SetFont method [Windows Shell],IPreviewHandlerVisuals interface, _shell_IPreviewHandlerVisuals_SetFont, shell.IPreviewHandlerVisuals_SetFont, shobjidl_core/IPreviewHandlerVisuals::SetFont
shobjidl_core.h
Shobjidl.h
Windows
Windows Vista, Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Shobjidl.idl
Windows
Windows Search 4 or later
19H1
IPreviewHandlerVisuals::SetFont
shobjidl_core/IPreviewHandlerVisuals::SetFont
c++
APIRef
kbSyntax
COM
shobjidl_core.h
IPreviewHandlerVisuals.SetFont

IPreviewHandlerVisuals::SetFont

-description

Sets the font attributes to be used for text within the preview handler.

-parameters

-param plf [in]

Type: const LOGFONTW*

A pointer to a LOGFONTW Structure containing the necessary attributes for the font to use.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

Note  These are suggestions. It is not compulsory for this method to be called. The preview handlers must be able to make their own decisions.