Skip to content

Latest commit

 

History

History
137 lines (104 loc) · 2.89 KB

ns-msinkaut-inkmetric.md

File metadata and controls

137 lines (104 loc) · 2.89 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:msinkaut.tagINKMETRIC
INKMETRIC (msinkaut.h)
Specifies display properties for a text ink object (tInk).
*PINKMETRIC
27d56034-725d-4b05-9c43-6b3180d7411b
IMF_BOLD
IMF_FONT_SELECTED_IN_HDC
IMF_ITALIC
INKMETRIC
INKMETRIC structure [Tablet PC]
PINKMETRIC
PINKMETRIC structure pointer [Tablet PC]
msinkaut/INKMETRIC
msinkaut/PINKMETRIC
tablet.inkmetric
tablet\inkmetric.htm
tablet
27d56034-725d-4b05-9c43-6b3180d7411b
12/05/2018
*PINKMETRIC, 27d56034-725d-4b05-9c43-6b3180d7411b, IMF_BOLD, IMF_FONT_SELECTED_IN_HDC, IMF_ITALIC, INKMETRIC, INKMETRIC structure [Tablet PC], PINKMETRIC, PINKMETRIC structure pointer [Tablet PC], msinkaut/INKMETRIC, msinkaut/PINKMETRIC, tablet.inkmetric
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
Windows
INKMETRIC, *PINKMETRIC
19H1
tagINKMETRIC
msinkaut/tagINKMETRIC
PINKMETRIC
msinkaut/PINKMETRIC
INKMETRIC
msinkaut/INKMETRIC
c++
APIRef
kbSyntax
HeaderDef
msinkaut.h
INKMETRIC

INKMETRIC structure

-description

Specifies display properties for a text ink object (tInk).

-struct-fields

-field iHeight

Ink height.

-field iFontAscent

Assent height.

-field iFontDescent

Descent height.

-field dwFlags

Ink metric flags.

Ink Metric Flags Meaning
IMF_FONT_SELECTED_IN_HDC
Use the ambient properties of the surrounding text.
IMF_ITALIC
Apply the italic style.
IMF_BOLD
Apply the bold style.

-field color

Ink color.

-remarks

The iHeight, iFontAssent and iFontDescent fields are in HIMETRIC units.

Applying italics to a text ink object slants the ink to the right.

-see-also

GetFormat Method

GetInkExtent Method

SetFormat Method