Export (0) Print
Expand All

FillToRectangle class

Defines the FillToRectangle Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is w14:fillToRect.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Word.FillToRectangle

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class FillToRectangle : OpenXmlLeafElement

2.5.6 CT_RelativeRect

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

Referenced by: CT_PathShadeProperties

A complex type that specifies a rectangle relative to its parent. Each edge of this rectangle is defined by a percentage offset from the corresponding edge of the parent.

Attributes:

l: An optional ST_Percentage 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 left edge of the rectangle. Default value for this attribute is 0.

t: An optional ST_Percentage 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 top edge of the rectangle. Default value for this attribute is 0.

r: An optional ST_Percentage 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 right edge of the rectangle. Default value for this attribute is 0.

b: An optional ST_Percentage 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 bottom edge of the rectangle. Default value for this attribute is 0.

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

<xsd:complexType name="CT_RelativeRect">

<xsd:attribute name="l" use="optional" type="a:ST_Percentage"/>

<xsd:attribute name="t" use="optional" type="a:ST_Percentage"/>

<xsd:attribute name="r" use="optional" type="a:ST_Percentage"/>

<xsd:attribute name="b" use="optional" type="a:ST_Percentage"/>

</xsd:complexType>

See section 5.1 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:
© 2015 Microsoft