Click or drag to resize
SoFontSetNumFontCaches Method

Sets the maximum number of caches that can be used for font rendering.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public static void SetNumFontCaches(
	int maxNumCaches
)

Parameters

maxNumCaches
Type: SystemInt32
Remarks

Default is 20. This number corresponds to the number of changes that can be applied to a font: for example, to use the "Arial" and the "Times" fonts one after the other, two caches are created. Subsequently changing a rendering property like OIV.Inventor.Nodes.SoFont.renderStyle causes the creation of new caches. Properties that cause a cache to be rebuilt include the following:

Note: This list is not exhaustive.

See Also