DWRITE_TEXT_METRICS1 structure

Contains the metrics associated with text after layout. All coordinates are in device independent pixels (DIPs).

DWRITE_TEXT_METRICS1 extends DWRITE_TEXT_METRICS to include the height of the formatted text.

Syntax


typedef struct _DWRITE_TEXT_METRICS1  : public DWRITE_TEXT_METRICS{
  FLOAT heightIncludingTrailingWhitespace;
} DWRITE_TEXT_METRICS1, *PDWRITE_TEXT_METRICS1;

Members

heightIncludingTrailingWhitespace

The height of the formatted text taking into account the trailing whitespace at the end of each line. This is pertinent for vertical text.

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_2.h

 

 

Show: