Share via


SlideSize.Cx Property

Definition

Extent Length

Represents the following attribute in the schema: cx

[DocumentFormat.OpenXml.SchemaAttr(0, "cx")]
public DocumentFormat.OpenXml.Int32Value Cx { get; set; }
public DocumentFormat.OpenXml.Int32Value Cx { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "cx")]
public DocumentFormat.OpenXml.Int32Value? Cx { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("cx")]
public DocumentFormat.OpenXml.Int32Value? Cx { get; set; }
public DocumentFormat.OpenXml.Int32Value? Cx { get; set; }
member this.Cx : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "cx")>]
member this.Cx : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("cx")>]
member this.Cx : DocumentFormat.OpenXml.Int32Value with get, set
Public Property Cx As Int32Value

Property Value

Returns Int32Value.

Attributes

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.

Applies to