Table of Contents

Class SubtitlesSettingsEventArgs

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

Provides data for the subtitles settings event that occurs when DirectVobSub subtitle filter is initialized and ready for configuration.

public class SubtitlesSettingsEventArgs : EventArgs

Inheritance

Inherited Members

Remarks

This event provides access to the IDirectVobSub3 interface for advanced subtitle configuration. DirectVobSub is a DirectShow filter that supports various subtitle formats including:

  • SUB/IDX (VobSub) format
  • SRT (SubRip) text subtitles
  • SSA/ASS (Advanced SubStation Alpha)
  • Embedded DVD subtitles
The event fires after the subtitle filter is added to the graph but before playback starts.

Constructors

SubtitlesSettingsEventArgs(object)

Initializes a new instance of the VisioForge.Core.Types.Events.SubtitlesSettingsEventArgs class.

public SubtitlesSettingsEventArgs(object intf)

Parameters

intf object

Interface. Cast it to IDirectVobSub3.

Properties

Interface

Gets the DirectVobSub interface for subtitle configuration.

public object Interface { get; }

Property Value

object

Remarks

Cast this object to IDirectVobSub3 to access subtitle configuration methods. This interface provides comprehensive control over subtitle display including:

  • Language/track selection
  • Text appearance (font, size, colors)
  • Positioning and margins
  • Timing adjustments
  • External subtitle file loading
Note: This interface is only available on Windows platforms with DirectShow.