Click or drag to resize
SoMPEGRendererOpenFile Method (String, UInt32)

Specifies the MPEG output file name.

Namespace: OIV.Inventor.MPEG
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2023.1.3.0 (2023.1.3)
Syntax
public bool OpenFile(
	string filename,
	uint numFrames
)

Parameters

filename
Type: SystemString
numFrames
Type: SystemUInt32

Return Value

Type: Boolean
Remarks

numFrames gives an estimate of the number of frames that the MPEG output will contain.

If filename is the same as the one currently in use by the encoding task (if there is one), the encoding task is stopped. If the filename is different, the file is not opened and the current encoding task continues.

Returns false if the file cannot be opened, true otherwise.

See Also