Class Pdf3DAnimation
Represents the lighting to apply for the 3D artwork.
Inheritance
System.Object
Pdf3DAnimation
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class Pdf3DAnimation : IPdfWrapper
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.
Declaration
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.
Declaration
public Pdf3DAnimation(PDF3DAnimationType type)
Parameters
Type | Name | Description |
---|---|---|
PDF3DAnimationType | type | PDF 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.
Declaration
public int PlayCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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.
Declaration
public float TimeMultiplier { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
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.
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
Type
Gets or sets the type of the animation.
Declaration
public PDF3DAnimationType Type { get; set; }
Property Value
Type | Description |
---|---|
PDF3DAnimationType |
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.
Declaration
protected virtual void Initialize()
Save()
Saves an annotation.
Declaration
protected virtual void Save()