Partager via


IXRTextBlock::SetLineStackingStrategy (Compact 2013)

3/28/2014

This method sets a value that indicates how a line box is determined for each line of text in this text block.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetLineStackingStrategy(
    XRLineStackingStrategy LineStackingStrategy
) = 0; 

Parameters

  • LineStackingStrategy
    [in] XRLineStackingStrategy enumerated type that describes the mechanism by which a line box is determined for each line of text in this text block.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Controls.TextBlock.LineStackingStrategy

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTextBlock
IXRTextBlock::GetLineStackingStrategy