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 |
|
|
Library |
|
|
DLL |
|
See also