Rotation3D

Rotation3D class

Represents 3D rotation of a chart.

getDepthPercents

NameDescription
getDepthPercents ()Returns or sets the depth of a 3D chart as a percentage of a chart width (between 20 and 2000 percent). Read/write int.

Returns: int


getHeightPercents

NameDescription
getHeightPercents ()Specifies the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent). Read/write int.

Returns: int


getPerspective

NameDescription
getPerspective ()Returns or sets the perspective value (field of view angle) for 3D charts (between 0 and 240). Ignored if RightAngleAxes property value is true. Read/write byte.

Returns: byte


getRightAngleAxes

NameDescription
getRightAngleAxes ()Determines whether the chart axes are at right angles, rather than drawn in perspective. In other words it determines whether the chart angles of axes are independent from chart rotation or elevation. Read/write boolean.

Returns: boolean


getRotationX

NameDescription
getRotationX ()Returns or sets the rotation degree around the X-axis, i.e. in the Y direction for 3D charts (between -90 and 90 degrees). The property matches with the 21.2.2.157 rotX (X Rotation) item in ECMA-376 and with the “Y Rotation” option in PowerPoint 2007+. Read/write byte.

Returns: byte


getRotationY

NameDescription
getRotationY ()Returns or sets the rotation degree around the Y-axis, i.e. in the X direction for 3D charts (between 0 and 360 degrees). The property matches with the 21.2.2.158 rotY (Y Rotation) item in ECMA-376 and with the “X Rotation” option in PowerPoint 2007+. Read/write int.

Returns: int


setDepthPercents

NameDescription
setDepthPercents (int)Returns or sets the depth of a 3D chart as a percentage of a chart width (between 20 and 2000 percent). Read/write int.

Returns: void


setHeightPercents

NameDescription
setHeightPercents (int)Specifies the height of a 3-D chart as a percentage of the chart width (between 5 and 500 percent). Read/write int.

Returns: void


setPerspective

NameDescription
setPerspective (byte)Returns or sets the perspective value (field of view angle) for 3D charts (between 0 and 240). Ignored if RightAngleAxes property value is true. Read/write byte.

Returns: void


setRightAngleAxes

NameDescription
setRightAngleAxes (boolean)Determines whether the chart axes are at right angles, rather than drawn in perspective. In other words it determines whether the chart angles of axes are independent from chart rotation or elevation. Read/write boolean.

Returns: void


setRotationX

NameDescription
setRotationX (byte)Returns or sets the rotation degree around the X-axis, i.e. in the Y direction for 3D charts (between -90 and 90 degrees). The property matches with the 21.2.2.157 rotX (X Rotation) item in ECMA-376 and with the “Y Rotation” option in PowerPoint 2007+. Read/write byte.

Returns: void


setRotationY

NameDescription
setRotationY (int)Returns or sets the rotation degree around the Y-axis, i.e. in the X direction for 3D charts (between 0 and 360 degrees). The property matches with the 21.2.2.158 rotY (Y Rotation) item in ECMA-376 and with the “X Rotation” option in PowerPoint 2007+. Read/write int.

Returns: void