Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDWriteFontFace1::GetCaretMetrics method

Gets caret metrics for the font in design units.

Syntax


virtual void GetCaretMetrics(
  [out] DWRITE_CARET_METRICS *caretMetrics
) = 0;

Parameters

caretMetrics [out]

Type: DWRITE_CARET_METRICS*

A pointer to the DWRITE_CARET_METRICS structure that is filled.

Return value

This method does not return a value.

Remarks

Caret metrics are used by text editors for drawing the correct caret placement and slant.

Requirements

Minimum supported client

Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps]

Minimum supported phone

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

Header

Dwrite_1.h

Library

Dwrite_1.lib

DLL

Dwrite_1.dll

See also

IDWriteFontFace1

 

 

Show:
© 2017 Microsoft