Compartilhar via


IXRUIElement::GetUseLayoutRounding (Compact 2013)

3/28/2014

This method gets a value that determines whether rendering for the object and its visual subtree uses rounding behavior that aligns rendering to whole pixels.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetUseLayoutRounding(
    __out bool* pUseLayoutRounding
) = 0;

Parameters

  • pUseLayoutRounding
    [out] Retrieves a value that indicates whether rendering for the object and its visual subtree uses rounding behavior that aligns rendering to whole pixels. If this value is true, rendering and layout use layout rounding to whole pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement
IXRUIElement::SetUseLayoutRounding