StreamDirection - property of the PmgPipe object
Description:
Stream direction.
Syntax:
Long StreamDirection
Values:
0 - Stopped
1 - Streamed from left
2 - Streamed from above
4 - Streamed from right
8 - Streamed from below
Note:
Property access
for read and write. The preset value of this property is defined in the "
Direction" configurator of this object.
This property is also functional in
Web panels.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oPipe = pMe.Items("/Pipe");
var nDirection = oPipe.StreamDirection; //reading
oPipe.StreamDirection = 1; //writing
Dim oPipe, nDirection
Set oPipe = pMe.Items("/Pipe")
nDirection = oPipe.StreamDirection 'reading
oPipe.StreamDirection = 1 'writing