ThreeDFormat Object Members
Publisher Developer Reference |
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. | |
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. | |
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 MsoTriState. | |
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. Each preset extrusion format contains a set of preset values for the various properties of the extrusion. If the extrusion has a custom format rather than a preset format, this property returns msoPresetThreeDFormatMixed. 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.MsoTriState can be one of these MsoTriState constants.msoCTrue Not used with this property.msoFalse The specified object or formatting is not visible.msoTriStateMixed Return value only. The specified shape range contains both objects with visible formatting and objects with invisible formatting.msoTriStateToggle Set value only. Toggles the specified object between visible and invisble.msoTrue The specified object or formatting is visible. |