RelativeHeight class

Office 2013 and later

Defines the RelativeHeight Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is wp14:sizeRelV.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Word.Drawing.RelativeHeight

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

No code example is currently available or this language may not be supported.

2.3.17 sizeRelV

Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing

Optional child element of:anchor as specified in [ISO/IEC-29500-1] section 20.4.2.3.

If present, this element specifies that the vertical size (height) is relative. If absent, the vertical size is absolute.

A CT_SizeRelV element that specifies the relative height of a floating DrawingML object in a WordprocessingML document.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="sizeRelV" type="CT_SizeRelV"/>

See section 5.11 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

2.5.60 CT_SizeRelV

Target namespace: http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing

Referenced by: sizeRelV

Specifies the relative height of a floating DrawingML object in a WordprocessingML document.

Child Elements:

pctHeight: An ST_Percentage element (as specified in [ISO/IEC-29500-4] section 12.1.2.2 and [ISO/IEC-29500-1] section 20.1.10.40) that specifies the height.<128>

Attributes:

relativeFrom: An ST_SizeRelFromV attribute that specifies the base on which the relative height is calculated.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_SizeRelV">

<xsd:sequence>

<xsd:element name="pctHeight" type="a:ST_PositivePercentage" minOccurs="1" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="relativeFrom" type="ST_SizeRelFromV" use="required"/>

</xsd:complexType>

See section 5.11 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: