Partager via


IXRCompositeTransform::GetTranslateY (Compact 2013)

3/28/2014

This method retrieves the distance an object is translated (moved) along the y-axis.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetTranslateY(
    __out float* pTranslateY
) = 0;

Parameters

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

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Negative values move an object up; positive values move an object down.

.NET Framework Equivalent

System.Windows.Media.CompositeTransform.TranslateY

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRCompositeTransform