次の方法で共有


IXRUIElement::GetRenderTransformOrigin (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRUIElement
IXRUIElement::SetRenderTransformOrigin