public virtual WMProfile WMProfile { get; set; }
public:
virtual property WMProfile^ WMProfile {
WMProfile^ get();
void set ( WMProfile^ );
}
A WMProfile object.
This property allows the user to define a custom profile for writing WMV files.
using Leadtools;
using Leadtools.Multimedia;
using LeadtoolsMultimediaExamples.Fixtures;
public bool _result = false;
public CaptureCtrlForm _form = new CaptureCtrlForm();
public void WMProfileExample()
{
// reference the capture control
CaptureCtrl capturectrl = _form.CaptureCtrl;
try
{
// reference the profile if available
WMProfile CurrentProfile = capturectrl.WMProfile;
if (CurrentProfile != null)
MessageBox.Show(_form, CurrentProfile.Name + " is the currently selected profile.", "Settings");
else
MessageBox.Show(_form, "There are currently no profiles associated with this capture object", "Settings");
_result = true;
}
catch (Exception)
{
_result = false;
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document