SlideSize.Cx Property
Extent Length.Represents the attribte in schema: cx
Namespace: DocumentFormat.OpenXml.Presentation
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "cx")> _
Public Property Cx As Int32Value
Get
Set
'Usage
Dim instance As SlideSize
Dim value As Int32Value
value = instance.Cx
instance.Cx = value
[SchemaAttrAttribute(, "cx")]
public Int32Value Cx { get; set; }
Property Value
Type: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the length of the extents rectangle in EMUs. This rectangle shall dictate the size of the object as displayed (the result of any scaling to the original object).
Consider a DrawingML object specified as follows:
<… cx="1828800" cy="200000"/>
The cx attributes specifies that this object has a height of 1828800 EMUs (English Metric Units).
The possible values for this attribute are defined by the ST_SlideSizeCoordinate simple type.