Click or drag to resize
SoMPEGRendererSetCompressionRate Method

Compression rate of the MPEG output.

Namespace: OIV.Inventor.MPEG
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public void SetCompressionRate(
	float value
)

Parameters

value
Type: SystemSingle
Remarks

Values are between 0 and 1. 0=no compression, 1=maximum compression.

The default value is 0.3.

NOTE: This method must be called before OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) or () in order to have an effect. Calling it after calling OIV.Inventor.MPEG.SoMPEGRenderer.OpenFile(System.String, System.UInt32) or () may cause undesirable results.

See Also