Class AspectRatioCropVideoEffect
Aspect ratio based crop video effect.
Implements
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class AspectRatioCropVideoEffect : BaseVideoEffect, IVideoEditXVideoEffect
Constructors
AspectRatioCropVideoEffect(int, int)
Initializes a new instance of the AspectRatioCropVideoEffect class.
Declaration
public AspectRatioCropVideoEffect(int x, int y)
Parameters
| Type | Name | Description |
|---|---|---|
| int | x | The X. |
| int | y | The Y. |
Fields
DefaultName
The default name.
Declaration
public static string DefaultName
Field Value
| Type | Description |
|---|---|
| string |
Properties
AspectRatio
Gets the aspect ratio.
Declaration
public Tuple<int, int> AspectRatio { get; }
Property Value
| Type | Description |
|---|---|
| Tuple<int, int> | The aspect ratio. |
StartTime
Gets or sets the start time. Used only in VideoEditCoreX.
Declaration
public TimeSpan StartTime { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
StopTime
Gets or sets the stop time. Used only in VideoEditCoreX.
Declaration
public TimeSpan StopTime { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
Methods
GenerateDescription()
Generates the description.
Declaration
public string GenerateDescription()
Returns
| Type | Description |
|---|---|
| string | System.String. |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException |