Partager via


Stretch Class

Stretch.When the object is serialized out as xml, its qualified name is a:stretch.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Stretch

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(FillRectangle))> _
Public Class Stretch _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Stretch
[ChildElementInfoAttribute(typeof(FillRectangle))]
public class Stretch : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • FillRectangle <a:fillRect>

[ISO/IEC 29500-1 1st Edition]

20.1.8.56 stretch (Stretch)

This element specifies that a BLIP should be stretched to fill the target rectangle. The other option is a tile where a BLIP is tiled to fill the available area.

Parent Elements

blipFill (§21.3.2.2); blipFill (§20.1.8.14); blipFill (§20.2.2.1); blipFill (§20.5.2.2); blipFill (§19.3.1.4)

Child Elements

Subclause

fillRect (Fill Rectangle)

§20.1.8.30

[Note: The W3C XML Schema definition of this element’s content model (CT_StretchInfoProperties) 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

Stretch Members

DocumentFormat.OpenXml.Drawing Namespace