次の方法で共有


Rectangle Class

Shape Text Rectangle.When the object is serialized out as xml, its qualified name is a:rect.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.Rectangle

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

Syntax

'宣言
Public Class Rectangle _
    Inherits OpenXmlLeafElement
'使用
Dim instance As Rectangle
public class Rectangle : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 初版]

20.1.9.22 rect (Shape Text Rectangle)

This element specifies the rectangular bounding box for text within a custGeom shape. The default for this rectangle is the bounding box for the shape. This can be modified using this elements four attributes to inset or extend the text bounding box.

[Note: Text specified to reside within this shape text rectangle can flow outside this bounding box. Depending on the autofit options within the txBody element the text might not entirely reside within this shape text rectangle. end note]

Parent Elements

custGeom (§20.1.9.8)

Attributes

Description

b (Bottom Position)

Specifies the y coordinate of the bottom edge for a shape text rectangle. The units for this edge is specified in EMUs as the positioning here is based on the shape coordinate system. The width and height for this coordinate system are specified within the ext transform element.

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

l (Left)

Specifies the x coordinate of the left edge for a shape text rectangle. The units for this edge is specified in EMUs as the positioning here is based on the shape coordinate system. The width and height for this coordinate system are specified within the ext transform element.

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

r (Right)

Specifies the x coordinate of the right edge for a shape text rectangle. The units for this edge is specified in EMUs as the positioning here is based on the shape coordinate system. The width and height for this coordinate system are specified within the ext transform element.

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

t (Top)

Specifies the y coordinate of the top edge for a shape text rectangle. The units for this edge is specified in EMUs as the positioning here is based on the shape coordinate system. The width and height for this coordinate system are specified within the ext transform element.

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

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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

Rectangle Members

DocumentFormat.OpenXml.Drawing Namespace