[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Camera

Class Camera

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the placement and properties of a camera in a 3D scene.

public class Camera : FormattingBag
Inheritance
Camera
Inherited Members

Properties

Perspective

Gets or sets the field of view for the camera.

Allowed values are from -0 to 120, inclusive.

Default value is 0.

Note that this property cannot be applied for text.

public float Perspective { get; set; }

Property Value

float

Preset

Gets or sets the preset camera that defines the starting point for common preset rotations in space.

Default value is OrthographicFront.

public CameraPreset Preset { get; set; }

Property Value

CameraPreset

Remarks

Assigning a value to this property resets the state of this Camera object.

Rotation

Gets the camera rotation.

public Rotation Rotation { get; }

Property Value

Rotation

Zoom

Gets or sets the zoom factor of a given camera.

Value must be greater than 0.

Default value is 100.

Note that this property cannot be applied for text.

public float Zoom { get; set; }

Property Value

float

Methods

FixInheritedValues()

Fixes all inherited values as "direct" values for this instance.

protected override void FixInheritedValues()

Reset()

Resets the camera to inherited defaults.

public void Reset()