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.

IDWriteTextLayout::GetOverhangMetrics method

Returns the overhangs (in DIPs) of the layout and all objects contained in it, including text glyphs and inline objects.

Syntax


virtual HRESULT GetOverhangMetrics(
  [out] DWRITE_OVERHANG_METRICS *overhangs
) = 0;

Parameters

overhangs [out]

Type: DWRITE_OVERHANG_METRICS*

Overshoots of visible extents (in DIPs) outside the layout.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Underlines and strikethroughs do not contribute to the black box determination, since these are actually drawn by the renderer, which is allowed to draw them in any variety of styles.

Requirements

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteTextLayout
IDWriteTextLayout

 

 

Show:
© 2017 Microsoft