Class Pdf3DAnimation
- Namespace
- Syncfusion.Pdf.Interactive
- Assembly
- Syncfusion.Pdf.Portable.dll
Represents the lighting to apply for the 3D artwork.
public class Pdf3DAnimation
- Inheritance
-
Pdf3DAnimation
- Inherited Members
Examples
//Create a new Pdf3DAnimation
Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear);
animation.Type = PDF3DAnimationType.Linear;
'Create a new Pdf3DAnimation
Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear)
animation.Type = PDF3DAnimationType.Linear;
Constructors
Pdf3DAnimation()
Initializes a new instance of the Pdf3DAnimation class.
public Pdf3DAnimation()
Examples
//Create a new Pdf3DAnimation
Pdf3DAnimation animation = new Pdf3DAnimation();
animation.Type = PDF3DAnimationType.Linear;
'Create a new Pdf3DAnimation
Dim animation As Pdf3DAnimation = New Pdf3DAnimation()
animation.Type = PDF3DAnimationType.Linear
Pdf3DAnimation(PDF3DAnimationType)
Initializes a new instance of the Pdf3DAnimation class with specified 3D animation type.
public Pdf3DAnimation(PDF3DAnimationType type)
Parameters
type
PDF3DAnimationTypePDF 3D Animation Type.
Examples
//Create a new Pdf3DAnimation
Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear);
animation.Type = PDF3DAnimationType.Linear;
'Create a new Pdf3DAnimation
Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear)
animation.Type = PDF3DAnimationType.Linear
Properties
PlayCount
Gets or sets the play count.
public int PlayCount { get; set; }
Property Value
Examples
//Create a new Pdf3DAnimation
Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear);
animation.PlayCount =10;
'Create a new Pdf3DAnimation
Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear)
animation.PlayCount =10
TimeMultiplier
Gets or sets the rendering opacity.
public float TimeMultiplier { get; set; }
Property Value
Examples
//Create a new Pdf3DAnimation
Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear);
animation.Type = 10f;
'Create a new Pdf3DAnimation
Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear)
animation.Type = 10f
Remarks
A positive number specifying the time multiplier to be used when running the animation. A value greater than one shortens the time it takes to play the animation, or effectively speeds up the animation.
Type
Gets or sets the type of the animation.
public PDF3DAnimationType Type { get; set; }
Property Value
Examples
//Create a new Pdf3DAnimation
Pdf3DAnimation animation = new Pdf3DAnimation(PDF3DAnimationType.Linear);
animation.Type = PDF3DAnimationType.Linear;
'Create a new Pdf3DAnimation
Dim animation As Pdf3DAnimation = New Pdf3DAnimation(PDF3DAnimationType.Linear)
animation.Type = PDF3DAnimationType.Linear
Methods
Initialize()
Initializes annotation object.
protected virtual void Initialize()
Save()
Saves an annotation.
protected virtual void Save()