Export (0) Print
Expand All

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft