Class Model3DFormat (Word VBA)

The class Model3DFormat represents the properties of a 3D model shape.

Set

To use a Model3DFormat class variable it first needs to be instantiated, for example

Dim mdf as Model3DFormat
Set mdf = ActiveDocument.Background.Model3D

The following procedures can be used to set variables of type Model3DFormat: InlineShape.Model3D, Shape.Model3D and ShapeRange.Model3D

Properties

AutoFit returns whether AutoFit is enabled for the model.

ActiveDocument.Background.Model3D.AutoFit =

CameraPositionX returns the x-coordinate of a 3D model object's camera position.

ActiveDocument.Background.Model3D.CameraPositionX =

CameraPositionY returns the y-coordinate of a 3D model object's camera position.

ActiveDocument.Background.Model3D.CameraPositionY =

CameraPositionZ returns the z-coordinate of a 3D model object's camera position.

ActiveDocument.Background.Model3D.CameraPositionZ =

FieldOfView returns the field-of-view angle of a 3D model object's camera, expressed in degrees.

ActiveDocument.Background.Model3D.FieldOfView =

LookAtPointX returns the x-coordinate of a 3D model object's camera look-at position.

ActiveDocument.Background.Model3D.LookAtPointX =

LookAtPointY returns the y-coordinate of a 3D model object's camera look-at position.

ActiveDocument.Background.Model3D.LookAtPointY =

LookAtPointZ returns the z-coordinate of a 3D model object's camera look-at position.

ActiveDocument.Background.Model3D.LookAtPointZ =

Parent returns the parent object for the specified object. Read-only.

Dim objParent As Object
Set objParent = ActiveDocument.Background.Model3D.Parent

RotationX returns the x-angle of a 3D model object's rotation.

ActiveDocument.Background.Model3D.RotationX =

RotationY returns the y-angle of a 3D model object's rotation.

ActiveDocument.Background.Model3D.RotationY =

RotationZ returns the z-angle of a 3D model object's rotation.

ActiveDocument.Background.Model3D.RotationZ =