Table of Contents

Class DVSettingsDialog

Namespace
VisioForge.Core.UI.WinForms.Dialogs.OutputFormats
Assembly
VisioForge.Core.dll

Windows Forms dialog for configuring DV (Digital Video) output format settings. Provides a user interface for configuring DV output parameters including audio settings, video format selection, and file format options.

public class DVSettingsDialog : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

Inheritance

Implements

Inherited Members

Extension Methods

Remarks

This dialog supports configuration of:

  • Audio settings (channels: mono/stereo, sample rate)
  • Video format selection (PAL/NTSC)
  • File format type (Type-1 DV / Type-2 DV) DV is a digital video format commonly used in professional video production.

Constructors

DVSettingsDialog()

Initializes a new instance of the VisioForge.Core.UI.WinForms.Dialogs.OutputFormats.DVSettingsDialog class. Creates the dialog with default DV settings.

public DVSettingsDialog()

Remarks

Default settings include stereo audio (2 channels) and 48kHz sample rate.

Methods

Dispose(bool)

Clean up any resources being used by the DV settings dialog. Disposes of managed resources including UI components when disposing is true.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

Remarks

This method is called by the Dispose() method and the finalizer. When disposing is true, it's safe to dispose of managed resources.

LoadSettings(DVOutput)

Loads settings from a DVOutput configuration object into the dialog controls. Populates all dialog controls with values from the specified DV output configuration.

public void LoadSettings(DVOutput dvOutput)

Parameters

dvOutput DVOutput

The DV output configuration object containing settings to load.

Remarks

This method transfers all relevant settings from the DVOutput object to the dialog controls, including audio parameters, video format selection, and file format type.

Exceptions

ArgumentOutOfRangeException

Thrown when the video format in the DVOutput object is not a valid DVVideoFormat value.

SaveSettings(ref DVOutput)

Saves settings from the dialog controls into a DVOutput configuration object. Transfers all current dialog settings to the specified DV output configuration.

public void SaveSettings(ref DVOutput dvOutput)

Parameters

dvOutput DVOutput

The DV output configuration object to update with current dialog settings.

Remarks

This method transfers all current dialog settings to the DVOutput object, including audio parameters, video format selection, and file format type. The dvOutput parameter is passed by reference to allow modification.