Camera class

Office 2013 and later

Defines the Camera Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:camera.

Namespace:  DocumentFormat.OpenXml.Office2010.Word
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class Camera : OpenXmlLeafElement

2.5.18 CT_Camera

Target namespace:

Referenced by: CT_Scene3D

A complex type that specifies the placement of the camera in the 3D scene.


prst: An ST_PresetCameraType attribute that specifies the presets that define the position of the camera in space. Applications MAY restrict the values of this attribute<27>.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_Camera">

<xsd:attribute name="prst" use="required" type="ST_PresetCameraType"/>


See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.