Class FileSegment
File segment for video or audio stream, contains start and stop time.
Inherited Members
Namespace: VisioForge.Core.Types.X.VideoEdit
Assembly: VisioForge.Core.dll
Syntax
public class FileSegment
Constructors
FileSegment(TimeSpan?, TimeSpan?)
Initializes a new instance of the FileSegment class.
Declaration
public FileSegment(TimeSpan? startTime, TimeSpan? stopTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan? | startTime | Start time. Set to null start and stop time to add the full file. |
TimeSpan? | stopTime | Stop time. Set to null start and stop time to add the full file. |
Properties
Duration
Gets duration.
Declaration
public TimeSpan? Duration { get; }
Property Value
Type | Description |
---|---|
TimeSpan? |
StartTime
Gets or sets start time. Set to null start and stop time to add the full file.
Declaration
public TimeSpan? StartTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan? |
StopTime
Gets or sets stop time. Set to null start and stop time to add the full file.
Declaration
public TimeSpan? StopTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan? |
Methods
ToString()
Returns a string that represents this instance.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents this instance. |