Partager via


CKeyFrame::AddToStoryboard

Adds a keyframe to a storyboard.

virtual BOOL AddToStoryboard(
   IUIAnimationStoryboard* pStoryboard,
   BOOL bDeepAdd
);

Parameters

  • pStoryboard
    A pointer to a storyboard.

  • bDeepAdd
    Specifies whether to add keyframe or transition recursively.

Return Value

TRUE, if keyframe was added successfully.

Remarks

This method adds a keyframe to storyboard. If it depends on other keyframe or transition and bDeepAdd is TRUE, this method tries to add them recursively.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CKeyFrame Class