Previews audio and video output of object
Methods
PreviewAudioVolumeGet
Gets the audio volume of preview. "0" is for full loudness and "-100" is for silence.
Syntax
void PreviewAudioVolumeGet( string _bsChannelID, int _nChannel, out double _pdblAttenuationdB )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_nChannel - number of channel. If it is "-1" then method applies to all channel.
_pdblAttenuationdB - channel(s) volume
PreviewAudioVolumeSet
Sets the audio volume of preview. "0" is for full loudness and "-100" is for silence.
Syntax
void PreviewAudioVolumeSet( string _bsChannelID, int _nChannel, double _dblAttenuationdB )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_nChannel - number of channel. If it is "-1" then method applies to all channnel.
_dblAttenuationdB - channel(s) volume
PreviewEnable
Enables the preview.
Syntax
void PreviewEnable( string _bsChannelID, int _bEnableAudio, int _bEnableVideo )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_bEnableAudio - "0" is to disable audio and "1" is to enable audio in preview
_bEnableVideo - "0" is to disable video and "1" is to enable video in preview
PreviewFullScreen
Enables the full screen mode.
Syntax
void PreviewFullScreen( string _bsChannelID, int _bFullScreen, int _nDisplay )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_bFullScreen - "0" is to disable full screen mode and "1" is to enable it
_nDisplay - number of monitor
PreviewIsEnabled
Indicates whether a preview is enabled
Syntax
void PreviewIsEnabled( string _bsChannelID, out int _pbEnabledAudio, out int _pbEnabledVideo )
Parameters
_bsChannelID - channel ID, by default ""
_pbEnabledAudio - "1" means that audio preview is enabled, "0" - is disabled
_pbEnabledVideo - "1" means that video preview is enabled, "0" - is disabled
PreviewIsFullScreen
Indicates whether the full screen mode is enabled on specified screen.
Syntax
void PreviewIsFullScreen( string _bsChannelID, ref int _pbFullScreen, ref int _pnDisplay )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_pbFullScreen - "0" means that the full screen mode is disabled and "1" means that it is enabled
_pnDisplay - number of monitor
PreviewSetCursor
Sets type of pointer in video preview window.
Syntax
void PreviewSetCursor( string _bsChannelID, eMCursorType _eCursor )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_eCursor - type of the mouse pointer
PreviewWindowSet
Sets the parent window for preview.
Syntax
void PreviewWindowSet( string _bsChannelID, long _hWndParent )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_hWndParent - handle of the window
PreviewWindowSetVB6
PreviewWindowSet method for VB6
Syntax
void PreviewWindowSetVB6( string _bsChannelID, int _hWndParent )
Parameters
_bsChannelID - channel ID. Reserved for future use. Use empty string (that is "") instead of this parameter.
_hWndParent - handle of the window