Creates new video controller for working with the video.

Namespace:  SGP.XSpace
Assembly:  SGPRTL (in SGPRTL.dll)
Version: 1.2.3019.18825

Syntax

C#
[DefaultMethodAttribute]
public XVideoController AddVideo(
	string fileName,
	bool autorun,
	int x,
	int y,
	int width,
	int height
)

Parameters

fileName
Type: System..::.String
Video file.
autorun
Type: System..::.Boolean
Enables or disables the automatic playback of the video after creating one.
x
Type: System..::.Int32
The X coordinate of the video left upper corner.
y
Type: System..::.Int32
The Y coordinate of the video left upper corner.
width
Type: System..::.Int32
Width of the created video.
height
Type: System..::.Int32
Height of the created video.

Return Value

Returns the XVideoController video controller.

See Also