Compartilhar via


IXRTranslateTransform::GetX (Compact 2013)

3/28/2014

This method retrieves the distance to translate along the x-axis.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetX(
    float* pX
) = 0;

Parameters

  • pX
    [out] Pointer to a float value that indicates the distance to translate (move) an object along the x-axis, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

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

.NET Framework Equivalent

System.Windows.Media.TranslateTransform.X

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTranslateTransform
IXRTranslateTransform::SetX