Partager via


IXRUIElement::TransformToVisual (Compact 2013)

3/28/2014

This method retrieves a transform object that can be used to transform coordinates from the UI element to the specified object.

Syntax

virtual HRESULT STDMETHODCALLTYPE TransformToVisual(
    __in IXRUIElement* pVisual,
    __out IXRGeneralTransform** ppGeneralTransform
) = 0;

Parameters

  • pVisual
    [in] Pointer to an IXRUIElement object with which to compare the current object for purposes of obtaining the transform.

Return Value

Returns an HRESULT that indicates whether or not the method succeeded.

Remarks

.NET Framework Equivalent

None.

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRUIElement
IXRGeneralTransform::Transform