Share via


UseShapeRectangle Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class UseShapeRectangle _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As UseShapeRectangle
public class UseShapeRectangle : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

20.1.2.2.42 useSpRect (Use Shape Text Rectangle)

This element specifies that the text rectangle from the parent shape should be used for this text shape. If this attribute is specified then the text rectangle, or text bounding box as it is also called should have the same dimensions as the text bounding box of the parent shape within which this text shape resides.

Parent Elements

txSp (§20.1.2.2.41)

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

© ISO/IEC29500: 2008.

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

UseShapeRectangle Members

DocumentFormat.OpenXml.Drawing Namespace