Class OPUSEncoderPage
Interaction logic for OPUSEncoderPage.xaml.
Inheritance
OPUSEncoderPage
Implements
Inherited Members
Namespace: VisioForge.Core.UI.WPF.Dialogs.OutputFormats.Pages
Assembly: VisioForge.Core.dll
Syntax
public class OPUSEncoderPage : Page, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, INotifyPropertyChanged, IComponentConnector
Constructors
OPUSEncoderPage()
Initializes a new instance of the OPUSEncoderPage class.
Declaration
public OPUSEncoderPage()
Properties
Bitrate
Gets or sets the bitrate.
Declaration
public int Bitrate { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The bitrate. |
Bitrates
Gets or sets the bitrates.
Declaration
public ObservableCollection<int> Bitrates { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<int> | The bitrates. |
RateControl
Gets or sets the rate control mode.
Declaration
public OPUSRateControl RateControl { get; set; }
Property Value
| Type | Description |
|---|---|
| OPUSRateControl | The rate control mode. |
RateControlModes
Gets or sets the rate control list.
Declaration
public ObservableCollection<string> RateControlModes { get; set; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<string> | The rate control list. |
RateControlStr
Gets or sets the rate control mode (as string).
Declaration
public string RateControlStr { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The rate control mode. |
Methods
Fill(ref OPUSEncoderSettings)
Fills the specified settings.
Declaration
public void Fill(ref OPUSEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| OPUSEncoderSettings | settings | The settings. |
GetPageType()
Gets the type of the page.
Declaration
public Type GetPageType()
Returns
| Type | Description |
|---|---|
| Type | Type. |
Init(OPUSEncoderSettings)
Initializes the specified settings.
Declaration
public void Init(OPUSEncoderSettings settings)
Parameters
| Type | Name | Description |
|---|---|---|
| OPUSEncoderSettings | settings | The settings. |
InitializeComponent()
InitializeComponent
Declaration
public void InitializeComponent()
OnPropertyChanged(string)
OnPropertyChanged API.
Declaration
protected virtual void OnPropertyChanged(string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | propertyName | Property name. |
SetProperty<T>(ref T, T, string)
Sets the property.
Declaration
protected bool SetProperty<T>(ref T field, T newValue, string propertyName = null)
Parameters
| Type | Name | Description |
|---|---|---|
| T | field | The field. |
| T | newValue | The new value. |
| string | propertyName | Name of the property. |
Returns
| Type | Description |
|---|---|
| bool |
|
Type Parameters
| Name | Description |
|---|---|
| T | T. |
Events
PropertyChanged
Property changed event.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type | Description |
|---|---|
| PropertyChangedEventHandler |