IAnimatedVisualSource3.TryCreateAnimatedVisual Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to create an animated visual.
public:
IAnimatedVisual2 ^ TryCreateAnimatedVisual(Compositor ^ compositor, [Out] Platform::Object ^ & diagnostics, bool createAnimations);
IAnimatedVisual2 TryCreateAnimatedVisual(Compositor const& compositor, [Out] IInspectable const& & diagnostics, bool const& createAnimations);
public IAnimatedVisual2 TryCreateAnimatedVisual(Compositor compositor, out object diagnostics, bool createAnimations);
Public Function TryCreateAnimatedVisual (compositor As Compositor, ByRef diagnostics As Object, createAnimations As Boolean) As IAnimatedVisual2
Parameters
- compositor
- Compositor
The compositor for the animated visual.
- diagnostics
-
Object
Platform::Object
IInspectable
The diagnostics information about the attempt to create an animated visual.
- createAnimations
-
Boolean
bool
true
to create the animations; otherwise, false
.
Returns
An animated visual that can be used by other objects.