Table of Contents

Class MJPEGEncoderPage

Namespace
VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly
VisioForge.Core.dll

Represents a WPF page for configuring Motion JPEG (MJPEG) encoder settings. This page provides UI controls for setting MJPEG encoding quality parameters.

public class MJPEGEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector

Inheritance

Implements

Inherited Members

Constructors

MJPEGEncoderPage()

Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages.MJPEGEncoderPage class. Sets up the data context for the Motion JPEG encoder configuration page.

public MJPEGEncoderPage()

Properties

Quality

Gets or sets the JPEG compression quality level. Valid range is 0-100, where 0 is lowest quality/highest compression and 100 is highest quality/lowest compression. Default value is 75 which provides a good balance.

public int Quality { get; set; }

Property Value

int

Methods

Fill(ref MJPEGEncoderSettings)

Fills the provided settings object with current UI values. Exports all encoder parameters from the UI controls to the settings object.

public void Fill(ref MJPEGEncoderSettings settings)

Parameters

settings MJPEGEncoderSettings

The Motion JPEG encoder settings object to populate.

GetPageType()

Gets the encoder settings type associated with this page.

public Type GetPageType()

Returns

Type

The type of MJPEGEncoderSettings.

Init(MJPEGEncoderSettings)

Initializes the page with existing encoder settings. Loads all encoder parameters from the provided settings object into the UI controls.

public void Init(MJPEGEncoderSettings settings)

Parameters

settings MJPEGEncoderSettings

The Motion JPEG encoder settings to load.

InitializeComponent()

InitializeComponent

public void InitializeComponent()

OnPropertyChanged(string)

OnPropertyChanged API.

protected virtual void OnPropertyChanged(string propertyName = null)

Parameters

propertyName string

Property name.

PropertyChanged

Property changed event.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler