次の方法で共有


IXRUIElement::GetRenderTransformOrigin (Compact 2013)

3/28/2014

This method retrieves the origin point of any possible display-transformation, in relation to the bounds of this UI element.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetRenderTransformOrigin(
    XRPoint *pRenderTransformOrigin
) = 0;

Parameters

  • pRenderTransformOrigin
    [out] Pointer to an XRPoint structure that defines an x-coordinate and y-coordinate pair that describes a location on-screen from which a transformation would originate.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The pRenderTransformOrigin value can be used to offset an element in a layout.

.NET Framework Equivalent

System.Windows.UIElement.RenderTransformOrigin

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement
IXRUIElement::SetRenderTransformOrigin