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.1.1.0 (2024.1.1)
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