ThreeDFormat Members (Publisher)

GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Represents a shape's three-dimensional formatting.

Methods

Name

Description

IncrementRotationX

Changes the rotation of the specified shape around the x-axis (horizontal) by the specified number of degrees.

IncrementRotationY

Changes the rotation of the specified shape around the y-axis (vertical) by the specified number of degrees.

ResetRotation

Resets the extrusion rotation around the x-axis (horizontal) and the y-axis (vertical) 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.

SetThreeDFormat

Sets the preset extrusion format. Each preset extrusion format contains a set of preset values for the 3-D properties of the extrusion.

Properties

Name

Description

Application

Used without an object qualifier, this property returns an Application object that represents the current instance of Publisher. Used with an object qualifier, this property returns an Application object that represents the creator of the specified object. When used with an OLE Automation object, it returns the object's application.

BevelBottomDepth

Returns or sets a Single that represents the depth of the bottom bevel. Read/write.

BevelBottomInset

Returns or sets a Single that represents the inset size for the bottom bevel. Read/write.

BevelBottomType

Returns or sets an MsoPresetCamera constant that represents the bevel type for the bottom bevel. Read/write.

BevelTopDepth

Returns or sets a Single that represents the depth of the top bevel. Read/write.

BevelTopInset

Returns or sets a Single that represents the depth of the top bevel. Read/write.

BevelTopType

Returns or sets an MsoPresetCamera constant that represents the bevel type for the top bevel. Read/write.

ContourColor

Returns or sets a ColorFormat object that represents color of the contour of a shape. Read/write.

ContourWidth

Returns or sets a Single that represents the width of the contour of a shape. Read/write.

Depth

Returns or sets a Variant indicating the depth of the shape's extrusion. Read/write.

ExtrusionColor

Returns a ColorFormat object representing the color of the shape's extrusion.

ExtrusionColorType

Returns or sets an MsoExtrusionColorType constant indicating 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. Read/write.

FieldOfView

Returns or sets a Single that represents the amount of perspective for a shape. Read/write.

Parent

Returns an object that represents the parent object of the specified object. For example, for a TextFrame object, returns a Shape object representing the parent shape of the text frame. Read-only.

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. Read/write.

PresetExtrusionDirection

Returns an MsoPresetExtrusionDirection constant that represents the direction taken by the extrusion's sweep path leading away from the extruded shape (the front face of the extrusion). Read-only.

PresetLightingDirection

Returns or sets an MsoPresetLightingDirection constant that represents the position of the light source relative to the extrusion. Read/write.

PresetLightingSoftness

Returns or sets a MsoPresetLightingSoftness constant that represents the intensity of the extrusion lighting. Read/write.

PresetMaterial

Returns or sets an MsoPresetMaterial constant that represents the extrusion surface material. Read/write.

PresetThreeDFormat

Returns an MsoPresetThreeDFormat constant that represents the preset extrusion format. Read-only.

RotationX

Returns or sets the rotation of the extruded shape around the x-axis in degrees. Can be a value from – 90 through 90. A positive value indicates upward rotation; a negative value indicates downward rotation. Read/write Single.

RotationY

Returns or sets the rotation of the extruded shape around the y-axis, in degrees. Can be a value from – 90 through 90. A positive value indicates rotation to the left; a negative value indicates rotation to the right. Read/write Single.

Visible

Returns or sets an MsoTriState constant indicating whether the specified object or the formatting applied to the specified object is visible. Read/write.