Share via


SlideSize.Cy Property

Extent Width.Represents the attribte in schema: cy

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "cy")> _
Public Property Cy As Int32Value
    Get
    Set
'Usage
Dim instance As SlideSize
Dim value As Int32Value

value = instance.Cy

instance.Cy = value
[SchemaAttrAttribute(, "cy")]
public Int32Value Cy { 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 width 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 cy attribute specifies that this object has a width of 200000 EMUs (English Metric Units).

The possible values for this attribute are defined by the ST_SlideSizeCoordinate simple type.

See Also

Reference

SlideSize Class

SlideSize Members

DocumentFormat.OpenXml.Presentation Namespace