共用方式為


IDCompositionVisual::SetOffsetY methods

Changes or animates the value of the OffsetY property of this visual, altering the vertical position of the visual relative to its parent.

Overload list

Method Description
SetOffsetY(float)

Changes the value of the OffsetY property.

SetOffsetY(IDCompositionAnimation*)

Animates the value of the OffsetY 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

IDCompositionVisual

IDCompositionVisual::SetOffsetX