Class ThreeDFormat (PowerPoint VBA)

The class ThreeDFormat represents a shape's three-dimensional formatting.

The classes ChartFormat, Shape and TextFrame2. give access to class ThreeDFormat


Dim tdf as ThreeDFormat
Set tdf = ActiveWindow.RangeFromPoint.ThreeD

Methods

IncrementRotationHorizontal - Rotates the ThreeDFormat object along the horizontal axis by the specified number of degrees.

IncrementRotationVertical - Rotates the ThreeDFormat object along the vertical axis by the specified number of degrees.

IncrementRotationX - Changes the rotation of the specified shape around the x-axis by the specified number of degrees.

IncrementRotationY - Changes the rotation of the specified shape around the y-axis by the specified number of degrees.

IncrementRotationZ - Rotates the ThreeDFormat object around the ground plane by the specified number of degrees.

ResetRotation - Resets the extrusion rotation around the x-axis and the y-axis to 0 (zero) so that the front of the extrusion faces forward. This method doesn't reset the rotation around the z-axis.

SetExtrusionDirection - Sets the direction that the extrusion's sweep path takes away from the extruded shape.

SetPresetCamera - Specifies the effects camera type and rotation to use for the specified ThreeDFormat object.

SetThreeDFormat - Sets the preset extrusion format.

Properties

BevelBottomDepth returns or sets the bottom bevel height for the specified ThreeDFormat object, in points.

BevelBottomInset returns or sets the bottom bevel inset for the specified ThreeDFormat object, in points.

BevelBottomType returns or set the bottom bevel type.

BevelTopDepth returns or sets the top bevel height for the specified ThreeDFormat object, in points.

BevelTopInset returns or sets the top bevel inset for the specified ThreeDFormat object, in points.

BevelTopType returns or set the top bevel type.

ContourColor returns a ColorFormat object that represents the color of the specified ThreeDFormat object's contour.

ContourWidth returns or sets the width of the contour around the specified ThreeDFormat object, in points.

Depth returns or sets the depth of the shape's extrusion.

ExtrusionColor returns a ColorFormat object that represents the color of the shape's extrusion.

ExtrusionColorType returns or sets a value that indicates whether the extrusion color is based on the extruded shape's fill (the front face of the extrusion) and automatically changes when the shape's fill changes, or whether the extrusion color is independent of the shape's fill.

FieldOfView returns or sets the camera field of view for the specified ThreeDFormat object, in degrees.

LightAngle sets or returns the angle at which light impacts the shape whose three-dimensional format is represented by the specified object.

Perspective determines whether the extrusion appears in perspective.

PresetCamera returns the effects camera type used by the specified ThreeDFormat object.

PresetExtrusionDirection returns the direction that the extrusion's sweep path takes away from the extruded shape (the front face of the extrusion).

PresetLighting returns or sets the effects lighting used by the specified ThreeDFormat object.

PresetLightingDirection returns or sets the position of the light source relative to the extrusion.

PresetLightingSoftness returns or sets the intensity of the extrusion lighting.

PresetMaterial returns or sets the extrusion surface material.

PresetThreeDFormat returns the preset extrusion format.

ProjectText specifies whether text on the specified ThreeDFormat object rotates with the object.

RotationX returns or sets the rotation of the extruded shape around the x-axis, in degrees.

RotationY returns or sets the rotation of the extruded shape around the y-axis, in degrees.

RotationZ returns or sets the rotation of the effects camera for the specified ThreeDFormat object, in degrees.

Visible returns or sets the visibility of the specified object or the formatting applied to the specified object.

Z returns or sets the distance the specified ThreeDFormat object is moved away from the ground plane, in points.

ColorFormat - Represents the color of a one-color object, the foreground or background color of an object with a gradient or patterned fill, or the pointer color. You can set colors to an explicit red-green-blue value (by using the RGB property) or to a color in the color scheme (by using the SchemeColor property).