Compartilhar via


IXRTranslateTransform::SetY (Compact 2013)

3/28/2014

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

Syntax

virtual HRESULT STDMETHODCALLTYPE SetY(
    float Y
) = 0;

Parameters

  • Y
    [in] A float value that indicates the distance to translate (move) an object along the y-axis, in pixels.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

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

.NET Framework Equivalent

System.Windows.Media.TranslateTransform.Y

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRTranslateTransform
IXRTranslateTransform::GetY