Share via


IXRCompositeTransform::GetTranslateX (Compact 2013)

3/28/2014

This method retrieves the distance the object is translated along the x-axis.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTranslateX(
    __out float* pTranslateX
) = 0;

Parameters

  • pTranslateX
    [out] Pointer to a float value that represents the distance an object is translated (moved) along the x-axis, in pixels. The default is 0.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Negative values move an object to the left; positive values move an object to the right.

.NET Framework Equivalent

System.Windows.Media.CompositeTransform.TranslateX

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRCompositeTransform