Share via


FillRectangle-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
Public Class FillRectangle _
    Inherits RelativeRectangleType
'Usage
Dim instance As FillRectangle
public class FillRectangle : RelativeRectangleType

Hinweise

[ISO/IEC 29500-1 1. Ausgabe]

20.1.8.30 fillRect (Fill Rectangle)

This element specifies a fill rectangle. When stretching of an image is specified, a source rectangle, srcRect, is scaled to fit the specified fill rectangle.

Each edge of the fill rectangle is defined by a percentage offset from the corresponding edge of the shape's bounding box. 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 fill rectangle is located to the right of the bounding box's left edge by an amount equal to 25% of the bounding box's width. end note]

[Example:

DocumentFormat.OpenXml.Drawing.FillRectangle-image

<a:blipFill>
  <a:blip r:embed="rId2"/>
  <a:stretch>
      <a:fillRect b="10000" r="25000"/>
  </a:stretch>
</a:blipFill>

The above image is stretched to fill the entire rectangle except for the bottom 10% and rightmost 25%.

end example]

Parent Elements

stretch (§20.1.8.56)

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. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

FillRectangle-Member

DocumentFormat.OpenXml.Drawing-Namespace