Partager via


IXRTranslateTransform::GetX (Windows Embedded CE 6.0)

1/6/2010

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

sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRTranslateTransform
IXRTranslateTransform::SetX