次の方法で共有


FillToRectangle Class

Fill To Rectangle.When the object is serialized out as xml, its qualified name is a:fillToRect.

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.RelativeRectangleType
DocumentFormat.OpenXml.Drawing.FillToRectangle

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

Syntax

'宣言
Public Class FillToRectangle _
    Inherits RelativeRectangleType
'使用
Dim instance As FillToRectangle
public class FillToRectangle : RelativeRectangleType

Remarks

[ISO/IEC 29500-1 初版]

20.1.8.31 fillToRect (Fill To Rectangle)

This element defines the "focus" rectangle for the center shade, specified relative to the fill tile rectangle. The center shade fills the entire tile except the margins specified by each attribute.

Each edge of the center shade rectangle is defined by a percentage offset from the corresponding edge of the tile rectangle. A positive percentage specifies an inset, while a negative percentage specifies an outset. [Note: For example, a left offset of 25% specifies that the left edge of the center shade rectangle is located to the right of the tile rectangle's left edge by an amount equal to 25% of the tile rectangle's width. end note]

[Example:

DocumentFormat.OpenXml.Drawing.FillToRectangle-ima

<a:path path="rect">
  <a:fillToRect l="50000" r="50000" t="50000" b="50000"/>
</a:path>

In the above shape, the rectangle defined by fillToRect is a single point in the center of the shape. This creates the effect of the center shade focusing at a point in the center of the region.

end example]

[Example:

DocumentFormat.OpenXml.Drawing.FillToRectangle-ima

<a:path path="rect">
  <a:fillToRect l="25000" t="25000" r="25000" b="0"/>
</a:path>

The center shade occupies the rectangle defined by excluding the topmost, leftmost, and rightmost 25% of the region. Therefore, the gradient fills the remaining leftmost 25%, topmost 25%, and rightmost 25% of the region.

end example]

Parent Elements

path (§20.1.8.46)

Attributes

Description

b (Bottom Offset)

Specifies the bottom edge of the rectangle.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

l (Left Offset)

Specifies the left edge of the rectangle.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

r (Right Offset)

Specifies the right edge of the rectangle.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

t (Top Offset)

Specifies the top edge of the rectangle.

The possible values for this attribute are defined by the ST_Percentage simple type (§20.1.10.40).

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

© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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.Drawing Namespace