Skip to content

Latest commit

 

History

History
95 lines (66 loc) · 3.9 KB

nf-uianimation-iuianimationstoryboard2-addkeyframeatoffset.md

File metadata and controls

95 lines (66 loc) · 3.9 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:uianimation.IUIAnimationStoryboard2.AddKeyframeAtOffset
IUIAnimationStoryboard2::AddKeyframeAtOffset (uianimation.h)
Adds a keyframe at the specified offset from an existing keyframe. (IUIAnimationStoryboard2.AddKeyframeAtOffset)
AddKeyframeAtOffset
AddKeyframeAtOffset method [Windows Animation]
AddKeyframeAtOffset method [Windows Animation]
IUIAnimationStoryboard2 interface
IUIAnimationStoryboard2 interface [Windows Animation]
AddKeyframeAtOffset method
IUIAnimationStoryboard2.AddKeyframeAtOffset
IUIAnimationStoryboard2::AddKeyframeAtOffset
uianimation.iuianimationstoryboard2_addkeyframeatoffset
uianimation/IUIAnimationStoryboard2::AddKeyframeAtOffset
uianimation\iuianimationstoryboard2_addkeyframeatoffset.htm
UIAnimation
6AB47BC1-4437-4191-8B66-8545EB4102A9
12/05/2018
AddKeyframeAtOffset, AddKeyframeAtOffset method [Windows Animation], AddKeyframeAtOffset method [Windows Animation],IUIAnimationStoryboard2 interface, IUIAnimationStoryboard2 interface [Windows Animation],AddKeyframeAtOffset method, IUIAnimationStoryboard2.AddKeyframeAtOffset, IUIAnimationStoryboard2::AddKeyframeAtOffset, uianimation.iuianimationstoryboard2_addkeyframeatoffset, uianimation/IUIAnimationStoryboard2::AddKeyframeAtOffset
uianimation.h
Windows
Windows 8, Windows 7 and Platform Update for Windows 7 [desktop apps \| UWP apps]
None supported
UIAnimation.idl
UIAnimation.dll
Windows
19H1
IUIAnimationStoryboard2::AddKeyframeAtOffset
uianimation/IUIAnimationStoryboard2::AddKeyframeAtOffset
c++
APIRef
kbSyntax
COM
UIAnimation.dll
IUIAnimationStoryboard2.AddKeyframeAtOffset

IUIAnimationStoryboard2::AddKeyframeAtOffset

-description

Adds a keyframe at the specified offset from an existing keyframe.

-parameters

-param existingKeyframe [in]

The existing keyframe. To add a keyframe at an offset from the start of the storyboard, use the special keyframe UI_ANIMATION_KEYFRAME_STORYBOARD_START.

-param offset [in]

The offset from the existing keyframe at which a new keyframe is to be added.

-param keyframe [out]

The keyframe to be added.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See Windows Animation Error Codes for a list of error codes.

-remarks

A keyframe represents a moment in time within a storyboard and can be used to specify the start and end times of transitions. Because keyframes can be added at the ends of transitions, their offsets from the start of the storyboard may not be known until the storyboard is playing.

-see-also

IUIAnimationStoryboard2

IUIAnimationStoryboard2::AddKeyframeAfterTransition

IUIAnimationStoryboard2::AddTransitionAtKeyframe

IUIAnimationStoryboard2::AddTransitionBetweenKeyframes

UI_ANIMATION_KEYFRAME