Class ThreeDFormat (Word VBA)

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

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


Dim tdf as ThreeDFormat
Set tdf = Selection.Font.ThreeD

Methods

IncrementRotationHorizontal - Horizontally rotates a shape on the x-axis using the specified incrementation value.

IncrementRotationVertical - Vertically rotates a shape on the y-axis using the specified incrementation value.

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 a shape on the z-axis using the specified incrementation.

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.

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

SetPresetCamera - Sets the camera presets for a shape.

SetThreeDFormat - Sets the preset extrusion format.

Properties

BevelBottomDepth returns or sets a Single that represents the depth of the bottom bevel.

BevelBottomInset returns or sets a Single that represents the inset size for the bottom bevel.

BevelBottomType returns or sets an MsoPresetCamera constant that represents the bevel type for the bottom bevel.

BevelTopDepth returns or sets a Single that represents the depth of the top bevel.

BevelTopInset returns or sets a Single that represents the inset size for the top bevel.

BevelTopType returns or sets an MsoPresetCamera constant that represents the bevel type for the top bevel.

ContourColor returns or sets a ColorFormat object that represents color of the contour of a shape.

ContourWidth returns or sets a Single that represents the width of the contour of a shape.

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 a Single that represents the amount of perspective for a shape.

LightAngle returns or sets a Single that represents angle of the lighting.

Perspective msoTrue if the extrusion appears in perspective — that is, if the walls of the extrusion narrow toward a vanishing point. MsoFalse if the extrusion is a parallel, or orthographic, projection — that is, if the walls don't narrow toward a vanishing point.

PresetCamera returns an MsoPresetCamera constant that represents the camera presets.

PresetExtrusionDirection returns the direction taken by the extrusion's sweep path leading away from the extruded shape (the front face of the extrusion).

PresetLighting returns or sets an MsoBevelType constant that represents the lighting preset.

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 returns or sets an MsoTriState constant that represents whether text on a shape rotates with shape. msoTrue rotates the text.

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 a Single that represents z-axis rotation of the camera.

Visible true if the specified object, or the formatting applied to it, is visible.

Z returns or sets a Single that represents the z-axis for the shape.

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