Partager via


IXRInline::SetTextDecoration (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetTextDecorations(
    XRTextDecorationType TextDecorations
) = 0;

Parameters

  • TextDecorations
    [in] XRTextDecorationType enumerated type that describes the text decorations that are applied to the text.

Return Value

Returns an HRESULT that indicates success or failure.

In Silverlight, the only text decoration is underlined text, XRTextDecoration_Type_Underline.

.NET Framework Equivalent

System.Windows.Documents.Inline.TextDecorations

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRInline
IXRInline::GetTextDecoration