Property MLASFPlayer.TMLASFBasicPlayer.Enabled
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TMLASFBasicPlayer
Contents |
Syntax
Delphi:
property Enabled : Boolean read FEnabled write SetEnabled default True;
C++ Builder:
__property bool Enabled = { read=FEnabled, write=SetEnabled, default=True };
Summary
Enables/Disables the generator.
Description
Use this property to enables or disables the player.
If the component is pumping the video by itself ( the common case ), Enable set to True will start the playing, and False will stop it.
If the component is connected to external data pump, the Enable = False will start producing empty frames on each pump request.
Delphi example:
VLASFPlayer1.Enabled := True;
C++ Builder example:
VLASFPlayer1->Enabled = true;
Visual C++(MFC) example:
VLASFPlayer1.Enabled = true;
Visual C++/CLI example:
asfPlayer1->Enabled = true;
C# example:
asfPlayer1.Enabled = true;
VB example:
ASFPlayer1.Enabled = True