Share via


IXRTextBlock::GetTextAlignment (Windows Embedded CE 6.0)

1/6/2010

This method retrieves a value that indicates the horizontal alignment of text content inside this text block.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTextAlignment(
    XRTextAlignment* pTextAlignment
) = 0;

Parameters

  • pTextAlignment
    [out] Pointer to an XRTextAlignment enumerated type that indicates the horizontal alignment of text content inside this text block.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.TextBlock.TextAlignment

Requirements

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

See Also

Reference

IXRTextBlock
IXRTextBlock::SetTextAlignment