Modifica

Condividi tramite


ThreeDFormat Interface

Definition

Represents a shape's three-dimensional formatting.

public interface class ThreeDFormat : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C0321-0000-0000-C000-000000000046")]
public interface ThreeDFormat : Microsoft.Office.Core._IMsoDispObj
Public Interface ThreeDFormat
Implements _IMsoDispObj
Attributes
Implements

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 an Application object that represents the Microsoft Excel application.

BevelBottomDepth

Returns or sets the bottom depth when using the bevel effect on a ThreeDFormat object. Read/write.

BevelBottomInset

Returns or sets a value indicating whether the bottom insert bevel should be raised for a ThreeDFormat object. Read/write.

BevelBottomType

Returns or sets the bottom bevel type for a ThreeDFormat object. Read/write.

BevelTopDepth

Returns or sets the top depth when using the bevel effect on a ThreeDFormat object. Read/write.

BevelTopInset

Returns or sets a value indicating whether the top insert bevel should be raised for a SetThreeDFormat(MsoPresetThreeDFormat) object. Read/write.

BevelTopType

Returns or sets the top Bevel type for a ThreeDFormat object. Read/write.

ContourColor

Returns the contour color for a ThreeDFormat object. Read-only.

ContourWidth

Returns or sets the contour width for a ThreeDFormat object. Read/write.

Creator

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

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 angle at which a ThreeDFormat object can be viewed. Read/write.

LightAngle

Returns or sets the angel of the extrusion lights set on a ThreeDFormat object. Read/write.

Parent

Returns the parent object for the specified object.

Perspective

Determines whether the extrusion appears in perspective.

PresetCamera

Returns or sets the extrusion preset camera for a ThreeDFormat object. Read-only.

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 extrusion preset lighting for a ThreeDFormat object. Read-only.

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 the project text state for the specified ThreeDFormat object. Read/write.

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 extruded shape around the z-axis in degrees. Read/write.

Visible

Determines whether the object is visible.

Z

Returns the Z order of the specified ThreeDFormat object. Read/write.

Methods

IncrementRotationHorizontal(Single)

Changes the rotation of the specified shape horizontally by the specified number of degrees.

IncrementRotationVertical(Single)

Changes the rotation of the specified shape vertically by the specified number of degrees.

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)

Changes the rotation of the specified shape around the z-axis 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.

SetExtrusionDirection(MsoPresetExtrusionDirection)

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

SetPresetCamera(MsoPresetCamera)

Sets the camera for the specified ThreeDFormat object.

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