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:dwrite.DWRITE_TEXT_METRICS |
DWRITE_TEXT_METRICS (dwrite.h) |
Contains the metrics associated with text after layout. (DWRITE_TEXT_METRICS) |
|
directwrite\dwrite_text_metrics.htm |
DirectWrite |
4524ace3-fca6-4daf-9ecb-516771e53fc9 |
12/05/2018 |
DWRITE_TEXT_METRICS, DWRITE_TEXT_METRICS structure [Direct Write], directwrite.dwrite_text_metrics, dwrite/DWRITE_TEXT_METRICS |
dwrite.h |
Windows |
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps] |
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps] |
Windows |
19H1 |
|
|
|
|
|
|
Contains the metrics associated with text after layout. All coordinates are in device independent pixels (DIPs).
Type: FLOAT
A value that indicates the left-most point of formatted text relative to the layout box, while excluding any glyph overhang.
Type: FLOAT
A value that indicates the top-most point of formatted text relative to the layout box, while excluding any glyph overhang.
Type: FLOAT
A value that indicates the width of the formatted text, while ignoring trailing whitespace at the end of each line.
Type: FLOAT
The width of the formatted text, taking into account the trailing whitespace at the end of each line.
Type: FLOAT
The height of the formatted text. The height of an empty string is set to the same value as that of the default font.
Type: FLOAT
The initial width given to the layout. It can be either larger or smaller than the text content width, depending on whether the text was wrapped.
Type: FLOAT
Initial height given to the layout. Depending on the length of the text, it may be larger or smaller than the text content height.
Type: UINT32
The maximum reordering count of any line of text, used to calculate the most number of hit-testing boxes needed. If the layout has no bidirectional text, or no text at all, the minimum level is 1.
Type: UINT32
Total number of lines.