Share via


IDCompositionVisual::SetOffsetX methods

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

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

IDCompositionVisual

IDCompositionVisual::SetOffsetY