Class FLACEncoderPage
- Assembly
- VisioForge.Core.dll
Represents a WPF page for configuring FLAC (Free Lossless Audio Codec) encoder settings. This page provides UI controls for setting FLAC encoding quality parameters.
public class FLACEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnectorInheritance
Implements
Inherited Members
Constructors
FLACEncoderPage()
Initializes a new instance of the VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages.FLACEncoderPage class. Sets up the data context for the FLAC encoder configuration page.
public FLACEncoderPage()Properties
Quality
Gets or sets the FLAC encoding quality level. Valid range is 0-8, where 0 is fastest compression and 8 is best compression. Default value is 5 which provides a good balance between speed and compression.
public int Quality { get; set; }Property Value
Methods
Fill(ref FLACEncoderSettings)
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 FLACEncoderSettings settings)Parameters
settingsFLACEncoderSettings-
The FLAC encoder settings object to populate.
GetPageType()
Gets the encoder settings type associated with this page.
public Type GetPageType()Returns
- Type
-
The type of FLACEncoderSettings.
Init(FLACEncoderSettings)
Initializes the page with existing encoder settings. Loads all encoder parameters from the provided settings object into the UI controls.
public void Init(FLACEncoderSettings settings)Parameters
settingsFLACEncoderSettings-
The FLAC encoder settings to load.
InitializeComponent()
InitializeComponent
public void InitializeComponent()OnPropertyChanged(string)
OnPropertyChanged API.
protected virtual void OnPropertyChanged(string propertyName = null)Parameters
propertyNamestring-
Property name.
PropertyChanged
Property changed event.
public event PropertyChangedEventHandler PropertyChanged