SourceRectangle Class
Source Rectangle.When the object is serialized out as xml, its qualified name is a:srcRect.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Drawing.RelativeRectangleType
DocumentFormat.OpenXml.Drawing.SourceRectangle
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Декларация
Public Class SourceRectangle _
Inherits RelativeRectangleType
'Применение
Dim instance As SourceRectangle
public class SourceRectangle : RelativeRectangleType
Remarks
[ISO/IEC 29500-1 редакция 1]
20.1.8.55 srcRect (Source Rectangle)
This element specifies the portion of the blip used for the fill.
Each edge of the source rectangle is defined by a percentage offset from the corresponding edge of the 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 source 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]
Parent Elements |
---|
blipFill (§21.3.2.2); blipFill (§20.1.8.14); blipFill (§20.2.2.1); blipFill (§20.5.2.2); blipFill (§19.3.1.4) |
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.