Compartir a través de


FillToRectangle Class

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

Inheritance Hierarchy

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)

Syntax

'Declaración
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class FillToRectangle _
    Inherits OpenXmlLeafElement
'Uso
Dim instance As FillToRectangle
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class FillToRectangle : OpenXmlLeafElement

Remarks

2.5.6 CT_RelativeRect

Target namespace: https://schemas.microsoft.com/office/word/2009/2/wordml

Referenced by: CT_PathShadeProperties

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 attribute that specifies the left edge of the rectangle. Default value for this attribute is 0. This attribute MAY<7> be required.

t : An optional ST_Percentage attribute that specifies the top edge of the rectangle. Default value for this attribute is 0. This attribute MAY<8> be required.

r : An optional ST_Percentage attribute that specifies the right edge of the rectangle. Default value for this attribute is 0. This attribute MAY<9> be required.

b : An optional ST_Percentage attribute that specifies the bottom edge of the rectangle. Default value for this attribute is 0. This attribute MAY<10> be required.

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="ST_Percentage"/>

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

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

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

</xsd:complexType>

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

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

FillToRectangle Members

DocumentFormat.OpenXml.Office2010.Word Namespace