Skip to content

Latest commit

 

History

History
97 lines (73 loc) · 2.6 KB

ns-olectl-fontdesc.md

File metadata and controls

97 lines (73 loc) · 2.6 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
NS:olectl.tagFONTDESC
FONTDESC (olectl.h)
Contains parameters used to create a font object through the OleCreateFontIndirect function.
*LPFONTDESC
FONTDESC
FONTDESC structure [COM]
LPFONTDESC
LPFONTDESC structure pointer [COM]
_ctrl_FONTDESC
com.fontdesc
olectl/FONTDESC
olectl/LPFONTDESC
com\fontdesc.htm
com
c677b0ba-fd52-40e8-b7c3-b80a01c9fb26
12/05/2018
*LPFONTDESC, FONTDESC, FONTDESC structure [COM], LPFONTDESC, LPFONTDESC structure pointer [COM], _ctrl_FONTDESC, com.fontdesc, olectl/FONTDESC, olectl/LPFONTDESC
olectl.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
FONTDESC, *LPFONTDESC
19H1
tagFONTDESC
olectl/tagFONTDESC
LPFONTDESC
olectl/LPFONTDESC
FONTDESC
olectl/FONTDESC
c++
APIRef
kbSyntax
HeaderDef
Olectl.h
FONTDESC

FONTDESC structure

-description

Contains parameters used to create a font object through the OleCreateFontIndirect function.

-struct-fields

-field cbSizeofstruct

The size of the structure, in bytes.

-field lpstrName

Pointer to an OLESTR that specifies the caller-owned string specifying the font name.

cySize

-field cySize

Initial point size of the font. Use the int64 member of the CY structure and scale your font size (in points) by 10000.

-field sWeight

Initial weight of the font. If the weight is below 550 (the average of FW_NORMAL, 400, and FW_BOLD, 700), then the Bold property is also initialized to FALSE. If the weight is above 550, the Bold property is set to TRUE.

-field sCharset

Initial character set of the font.

-field fItalic

Initial italic state of the font.

-field fUnderline

Initial underline state of the font.

-field fStrikethrough

Initial strikethrough state of the font.

-see-also

OleCreateFontIndirect