Partager via


IXRTranslateTransform::SetX (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetX(
    float X
) = 0;

Parameters

  • X
    [in] 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 X move an object to the left; positive values for X 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::GetX