IXRInline::GetTextDecoration (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

  virtual HRESULT STDMETHODCALLTYPE GetTextDecorations(
    XRTextDecorationType* pTextDecorations
) = 0;

Parameters

  • pTextDecorations
    [out] Pointer to an XRTextDecorationType enumerated type that describes the text decorations that are applied to the text.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

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::SetTextDecoration