Skip to content

Latest commit

 

History

History
130 lines (101 loc) · 3.65 KB

nf-msinkaut-iinklineinfo-getinkextent.md

File metadata and controls

130 lines (101 loc) · 3.65 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:msinkaut.IInkLineInfo.GetInkExtent
IInkLineInfo::GetInkExtent (msinkaut.h)
Specifies the display properties to set on the text ink object (tInk), and retrieves the width of the text ink object in HIMETRIC units.
0082b7d3-61b2-478a-a6dd-ba59c20b7e1d
GetInkExtent
GetInkExtent method [Tablet PC]
GetInkExtent method [Tablet PC]
IInkLineInfo interface
IInkLineInfo interface [Tablet PC]
GetInkExtent method
IInkLineInfo.GetInkExtent
IInkLineInfo::GetInkExtent
msinkaut/IInkLineInfo::GetInkExtent
tablet.iinklineinfo_getinkextent
tablet\iinklineinfo_getinkextent.htm
tablet
0082b7d3-61b2-478a-a6dd-ba59c20b7e1d
12/05/2018
0082b7d3-61b2-478a-a6dd-ba59c20b7e1d, GetInkExtent, GetInkExtent method [Tablet PC], GetInkExtent method [Tablet PC],IInkLineInfo interface, IInkLineInfo interface [Tablet PC],GetInkExtent method, IInkLineInfo.GetInkExtent, IInkLineInfo::GetInkExtent, msinkaut/IInkLineInfo::GetInkExtent, tablet.iinklineinfo_getinkextent
msinkaut.h
Windows
Windows XP Tablet PC Edition [desktop apps only]
None supported
InkObj.dll
Windows
19H1
IInkLineInfo::GetInkExtent
msinkaut/IInkLineInfo::GetInkExtent
c++
APIRef
kbSyntax
COM
InkObj.dll
InkObj.dll.dll
IInkLineInfo.GetInkExtent

IInkLineInfo::GetInkExtent

-description

Specifies the display properties to set on the text ink object (tInk), and retrieves the width of the text ink object in HIMETRIC units.

-parameters

-param pim [in]

A pointer to an INKMETRIC structure, which contains the display properties to set on the text ink object, or NULL.

-param pnWidth [out]

The width of the text ink object in HIMETRIC units.

-returns

This method can return one of these values.

Return code Description
S_OK
Success.
E_POINTER
The pnWidth parameter is NULL.
E_OUTOFMEMORY
Could not complete the operation. The display properties are not changed.

-remarks

If the pim parameter is NULL, then the display properties are not changed and the existing properties are used to calculate the extent of the text ink object; otherwise, the display properties are updated, and the extent is calculated from the new properties.

If the IMF_FONT_SELECTED_IN_HDC flag is set in the pim parameter, then the properties of the device context are applied to the ink; otherwise, the INKMETRIC settings of the text ink object are applied.

-see-also

GetFormat Method

IInkLineInfo

INKMETRIC Structure

SetFormat Method