Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 2.48 KB

nf-dwrite-idwritetextlayout-setunderline.md

File metadata and controls

78 lines (61 loc) · 2.48 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:dwrite.IDWriteTextLayout.SetUnderline
IDWriteTextLayout::SetUnderline (dwrite.h)
Sets underlining for text within a specified text range.
IDWriteTextLayout interface [Direct Write]
SetUnderline method
IDWriteTextLayout.SetUnderline
IDWriteTextLayout::SetUnderline
SetUnderline
SetUnderline method [Direct Write]
SetUnderline method [Direct Write]
IDWriteTextLayout interface
directwrite.IDWriteTextLayout_SetUnderline
dwrite/IDWriteTextLayout::SetUnderline
directwrite\IDWriteTextLayout_SetUnderline.htm
DirectWrite
677bb4e2-4ae9-4e79-96a3-d4961e317886
12/05/2018
IDWriteTextLayout interface [Direct Write],SetUnderline method, IDWriteTextLayout.SetUnderline, IDWriteTextLayout::SetUnderline, SetUnderline, SetUnderline method [Direct Write], SetUnderline method [Direct Write],IDWriteTextLayout interface, directwrite.IDWriteTextLayout_SetUnderline, dwrite/IDWriteTextLayout::SetUnderline
dwrite.h
Windows
Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps \| UWP apps]
Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps \| UWP apps]
Dwrite.lib
Dwrite.dll
Windows
19H1
IDWriteTextLayout::SetUnderline
dwrite/IDWriteTextLayout::SetUnderline
c++
APIRef
kbSyntax
COM
dwrite.dll
IDWriteTextLayout.SetUnderline

IDWriteTextLayout::SetUnderline

-description

Sets underlining for text within a specified text range.

-parameters

-param hasUnderline

Type: BOOL

A Boolean flag that indicates whether underline takes place within a specified text range.

-param textRange

Type: DWRITE_TEXT_RANGE

Text range to which this change applies.

-returns

Type: HRESULT

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

-see-also

IDWriteTextLayout