Property VLDSCapture.TVLDSCapture.Opened

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Opened : Boolean '''read''' FOpened '''write''' SetConnected;
+
'''property''' Opened : Boolean '''read''' GetOpened '''write''' SetOpened;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' bool Opened = { '''read'''=FOpened,  '''write'''=SetConnected };
+
'''__property''' bool Opened = { '''read'''=GetOpened,  '''write'''=SetOpened };
 
</code>
 
</code>
  

Revision as of 20:28, 10 June 2013

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: TVLDSCapture

Contents

Syntax

Delphi:

property Opened : Boolean read GetOpened write SetOpened;

C++ Builder:

__property bool Opened = { read=GetOpened, write=SetOpened };

Summary

Returns True if the device is opened.

Description

Controls whether or not the component is connected to the selected driver( Builds/destroys the DirectShow filter graph. ). In most cases you will not need to call this procedure.


Delphi example:

var AValue : Boolean;

AValue := VLDSCapture1.Opened;

C++ Builder example:

bool AValue = VLDSCapture1->Opened;

Visual C++(MFC) example:

bool AValue = VLDSCapture1.Opened;

Visual C++/CLI example:

bool AValue = dsCapture1->Opened;

C# example:

bool AValue = dsCapture1.Opened;

VB example:

Dim AValue As Boolean = DSCapture1.Opened

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox