Table of Contents

Class SubtitlesSettings

Namespace
VisioForge.Core.Types
Assembly
VisioForge.Core.dll

Configures the settings for displaying subtitles during video playback.

public class SubtitlesSettings

Inheritance

Inherited Members

Examples

// To load an SRT subtitle file:
var subtitles = new SubtitlesSettings("C:\path	o\movie.srt");

// Assign these settings to your media player component.

Remarks

This class allows you to specify the subtitle file to be used. Supported formats include SRT, SUB, ASS, and SSA. Additional subtitle rendering options might be available through the OnSubtitleSettings event.

Constructors

SubtitlesSettings(string)

Initializes a new instance of the VisioForge.Core.Types.SubtitlesSettings class with the specified subtitle file.

public SubtitlesSettings(string filename)

Parameters

filename string

The full path to the subtitle file. Supported formats include SRT, SUB, ASS, and SSA.

Properties

Filename

Gets or sets the full path to the subtitle file.

public string Filename { get; set; }

Property Value

string