IN_SetAutospinAngle

image\bltlrgsq_shg.gif Editions image\bltlrgsq_shg.gif Related Functions  image\bltlrgsq_shg.gif Example

The IN_SetAutospinAngle function sets the angle and speed of Autospin rotation.

Syntax

int IN_SetAutospinAngle ( docwinID, x, y, z, spin_speed, angle_unit )

Parameters

Values

Meaning

IN_DOCWIN docwinID

0 | docwinID

active | specific (not yet supported)

DOUBLE x

0 | 0.1 | 0.2 | …360

specific X-axis rotation angle. See Remarks.

DOUBLE y

0 | 0.1 | 0.2 | …360

specific Y-axis rotation angle

DOUBLE z

0 | 0.1 | 0.2 | …360

specific Z-axis rotation angle

int spin_speed

0 | 1 | 2 | 3 | …100

0 is slowest and 100 is fastest

int angle_unit

IN_UNITS_DEG (16)
IN_UNITS_RAD (17)

rotation angle is in degrees
rotation angle is in radians

Remarks

Available for 3D documents only.

If the angle_unit value is degrees, then the x, y, and z range is from 0 to 360, and when the angle_unit is radians, the x, y, and z range is from 0 to 6.2831853, or the equivalent of 2P (two Pi).

Release information

Added to Imagenation for Windows in Release 6.2.

Not yet available in Imagenation for UNIX.

See also

3D Documents

Rotating 3D images