Share via


IXRTextElement::GetTextDecorations (Compact 2013)

3/28/2014

This method retrieves the decorations that are applied to the text inside this text element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTextDecorations(
  __out XRTextDecorationCollection* pTextDecorations
) = 0;

Parameters

  • pTextDecorations
    [out] Pointer to an XRTextDecorationCollection enumeration value that indicates the decorations to apply to the text.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

In XAML for Windows Embedded, the only text decoration values are XRDecorationsUnderline and XRDecorationsNone (default).

.NET Framework Equivalent

System.Windows.Documents.Inline.TextDecorations

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextElement
IXRTextElement::SetTextDecorations