Creates new video controller for working with the video.
Namespace:
SGP.XSpaceAssembly: SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825
Syntax
C# |
---|
public XVideoController AddVideo( string fileName, bool autorun ) |
Parameters
- fileName
- Type: System..::.String
Video file.
- autorun
- Type: System..::.Boolean
Enables or disables the automatic playback of the video after creating one.
Return Value
Returns the XVideoController video controller.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentNullException | fileName is nullNothingnullptra null reference (Nothing in Visual Basic). |