CameraObject Class

Camera Tool.When the object is serialized out as xml, its qualified name is xvml:Camera.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.OpenXmlLeafTextElement
        DocumentFormat.OpenXml.Vml.Spreadsheet.CameraObject

Namespace:  DocumentFormat.OpenXml.Vml.Spreadsheet
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class CameraObject _
    Inherits OpenXmlLeafTextElement
'Usage
Dim instance As CameraObject
public class CameraObject : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.4.2.8 Camera (Camera Tool)

This element specifies that the object is a camera object. A camera object is a shape that is filled with a live view of a cell range in the same spreadsheet, including all applied styles. The cell range is defined by the fmlaPict element (§14.4.2.28), which shall be present. Shape properties such as the position and size of the camera object are defined by the shape. The shape shall be a rectangle. The view of the cell range is scaled vertically and horizontally to fill the rectangle exactly.

If this element is specified without a value, it is assumed to be true.

[Example:

<x:ClientData> …
  <x:FmlaPict>$A$2:$B$4</x:FmlaPict>
<x:Camera>True</x:Camera>
</x:ClientData>

DocumentFormat.OpenXml.Vml.Spreadsheet.CameraObjec

end example]

The possible values for this element are defined by the ST_TrueFalseBlank simple type (§15.1.2.6).

Parent Elements

ClientData (§14.4.2.12)

[Note: The W3C XML Schema definition of this element’s content model (ST_TrueFalseBlank) is located in §A.7.9. end note]

© ISO/IEC29500: 2008.

Thread Safety

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

See Also

Reference

CameraObject Members

DocumentFormat.OpenXml.Vml.Spreadsheet Namespace