次の方法で共有


IXRCompositeTransform::SetTranslateY (Compact 2013)

3/28/2014

This method sets the distance to translate (move) an object along the y-axis.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetTranslateY(
    __in float TranslateY
) = 0;

Parameters

  • TranslateY
    [in] The float value that specifies the distance to translate (move) an object 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