2.31.3.7 CT_ObjectViewport

Target namespace: http://schemas.microsoft.com/office/drawing/2017/model3d

Referenced by: CT_Model3D

Represents the viewport properties of a 3D Model which is set to object mode. In object mode, the size of the frame is updated automatically to fit the visible part of the 3D Model scene. Due to this, frame and projection information are recalculated whenever the model is rotated. In this mode, the viewport center and the graphics frame center are the same. This is the default behavior mode.

Child Elements:

extLst: A CT_OfficeArtExtensionList ([ISO/IEC29500-1:2016] section A.4.1) element that specifies the extension list in which all future extensions of element type ext are defined. The extension list, along with corresponding future extensions, is used to extend the storage capabilities of the DrawingML framework. This enables various new types of data to be stored natively in the framework.

Attributes:

viewportSz: An ST_PositiveCoordinate ([ISO/IEC29500-1:2016] section A.4.1) attribute that specifies the size of the square viewport that contains the full field of view. The size of the viewport is used to update the size of the graphicFrame to fit the visible portions of the scene. This viewport is centered around the look-at point.

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

 <xsd:complexType name="CT_ObjectViewport">
   <xsd:sequence>
     <xsd:element name="extLst" type="a:CT_OfficeArtExtensionList" minOccurs="0" maxOccurs="1"/>
   </xsd:sequence>
   <xsd:attribute name="viewportSz" type="a:ST_PositiveCoordinate" use="required"/>
 </xsd:complexType>

See section 5.29 for the full W3C XML Schema ([XMLSCHEMA1/2] section 2.1).