Extents Class

Extents.When the object is serialized out as xml, its qualified name is a:ext.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.PositiveSize2DType
        DocumentFormat.OpenXml.Drawing.Extents

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

Syntax

声明
Public Class Extents _
    Inherits PositiveSize2DType
用法
Dim instance As Extents
public class Extents : PositiveSize2DType

Remarks

[ISO/IEC 29500-1 第 1 个版本]

20.1.7.3 ext (Extents)

This element specifies the size of the bounding box enclosing the referenced object.

Parent Elements

xfrm (§21.3.2.28); xfrm (§20.1.7.5); xfrm (§20.1.7.6); xfrm (§20.5.2.36); xfrm (§19.3.1.53)

Attributes

Description

cx (Extent Length)

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).

[Example: 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). end example]

The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42).

cy (Extent Width)

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).

[Example: 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). end example]

The possible values for this attribute are defined by the ST_PositiveCoordinate simple type (§20.1.10.42).

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

Extents Members

DocumentFormat.OpenXml.Drawing Namespace