共用方式為


IDCompositionTranslateTransform::SetOffsetX methods

Changes or animates the value of the OffsetX property of a 2D translation transform. The OffsetX property specifies the translation along the x-axis.

Overload list

Method Description
SetOffsetX(float)

Changes the value of the OffsetX property.

SetOffsetX(IDCompositionAnimation*)

Animates the value of the OffsetX property.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionTranslateTransform