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:ocidl.IFont.QueryTextMetrics |
IFont::QueryTextMetrics (ocidl.h) |
Fills a caller-allocated structure with information about the font. |
|
com\ifont_querytextmetrics.htm |
com |
960dcc0b-8769-415c-9d5a-eaf9f4b3aeac |
12/05/2018 |
IFont interface [COM],QueryTextMetrics method, IFont.QueryTextMetrics, IFont::QueryTextMetrics, QueryTextMetrics, QueryTextMetrics method [COM], QueryTextMetrics method [COM],IFont interface, _ctrl_ifont_querytextmetrics, com.ifont_querytextmetrics, ocidl/IFont::QueryTextMetrics |
ocidl.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
OCIdl.idl |
Windows |
19H1 |
|
|
|
|
|
|
Fills a caller-allocated structure with information about the font.
Pointer to the caller-allocated structure that receives the font information. The TEXTMETRICOLE structure is defined as a TEXTMETRICW structure.
The method supports the standard return value E_UNEXPECTED, as well as the following values.
Return code | Description |
---|---|
|
The text metrics were returned successfully. |
|
The address in the ptm parameter is not valid. For example, it may be NULL. |