Click or drag to resize
SoOffscreenRendererAbortCallback Property

Sets callback to call during rendering to test for abort condition.

Namespace: OIV.Inventor
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 9.9.13.0 (9.9.13.0)
Syntax
public SoOffscreenRendererAbortCB AbortCallback { get; set; }

Property Value

Type: SoOffscreenRendererAbortCB
Remarks

It will be called for each subimage (tile) that is rendered. This allows the application to terminate rendering prematurely if some condition occurs. The callback function should return one of the AbortCode values to indicate whether rendering should continue.

Rendering a big image can take a long time (in the user's perception anyway). This callback can also be used to display a "progress bar" or other indication of how much work has been completed. numSubImage gives the total number of subimages to be rendered. subImageCount gives the number of subimages rendered so far.

See Also