Click or drag to resize
SoPSVectorOutputSetNumericAccuracyFactor Method

Sets the factor used to compute the accuracy of all real numeric values.

Namespace: OIV.HardCopy
Assembly: OIV.HardCopy (in OIV.HardCopy.dll) Version: 10.3.0.0 (10.3.0.0)
Syntax
public void SetNumericAccuracyFactor(
	float factor
)

Parameters

factor
Type: SystemSingle
Remarks

The default value is 0.1.

In order to reduce the PostScript file size, all real numeric values are stored as integer values. The formula used to compute an integer value from a real numeric value is the following:

Integer part of (realValue / (0.24 * NumericAccuracyFactor)) + 0.5

All integer values are globally scaled by 0.24 * NumericAccuracyFactor. Thus this factor allows you to specify higher or lower accuracy, which will have a significant influence on the size of the resulting file. The range of this factor is usually 0.01 <= NumericAccuracyFactor <= 1.0

See Also