Edit

Share via


ThreeDFormat Interface

Definition

Represents a shape's three-dimensional formatting.

public interface class ThreeDFormat
[System.Runtime.InteropServices.Guid("000209D0-0000-0000-C000-000000000046")]
public interface ThreeDFormat
type ThreeDFormat = interface
Public Interface ThreeDFormat
Attributes

Remarks

Use the ThreeD property to return a ThreeDFormat object.

You cannot apply three-dimensional formatting to some kinds of shapes, such as beveled shapes or multiple-disjoint paths. Most of the properties and methods of the ThreeDFormat object for such a shape will fail.

Properties

Application

Returns a Application object that represents the Microsoft Word 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 inset size for 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.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Depth

Returns or sets the depth of the shape's extrusion. Can be a value from – 600 through 9600 (positive values produce an extrusion whose front face is the original shape; negative values produce an extrusion whose back face is the original shape).

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

LightAngle

Returns or sets a Single that represents angle of the lighting. Read/write.

Parent

Returns an object that represents the parent object of the specified object.

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. Read-only.

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

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

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.

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.

RotationZ

Returns or sets a Single that represents z-axis rotation of the camera. Read/write.

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

Methods

IncrementRotationHorizontal(Single)

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

IncrementRotationVertical(Single)

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

IncrementRotationX(Single)

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

IncrementRotationY(Single)

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

IncrementRotationZ(Single)

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. This method doesn't reset the rotation around the z-axis.

SetExtrusionDirection(MsoPresetExtrusionDirection)

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

SetPresetCamera(MsoPresetCamera)

Sets the camera presets for a shape.

SetThreeDFormat(MsoPresetThreeDFormat)

Sets the preset extrusion format. Each preset extrusion format contains a set of preset values for the various properties of the extrusion.

Applies to