Class ImageSource
- Namespace
- VisioForge.Core.Types.VideoEdit
- Assembly
- VisioForge.Core.dll
Represents an image source used in video editing, typically for slideshows or overlays.
public class ImageSourceInheritance
Inherited Members
Remarks
The VisioForge.Core.Types.VideoEdit.ImageSource class allows static images to be used like video clips in a timeline. Each image is assigned a duration, determining how long it will be displayed.
Supported usage:
- Creating photo slideshows with transitions.
- Displaying title cards or logos.
Constructors
ImageSource(string, TimeSpan)
Initializes a new instance of the VisioForge.Core.Types.VideoEdit.ImageSource class.
public ImageSource(string filename, TimeSpan duration)Parameters
filenamestring-
The path to the image file.
durationTimeSpan-
The duration for which the image should be displayed.
Properties
Duration
Gets or sets the duration the image should be displayed.
public TimeSpan Duration { get; set; }Property Value
Filename
Gets or sets the path to the image file.
public string Filename { get; set; }