BackgroundMark class
Defines the BackgroundMark Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is a14:backgroundMark.
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Office2010.Drawing.BackgroundMark
Namespace: DocumentFormat.OpenXml.Office2010.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
2.5.24 CT_PictureEffectBackgroundRemovalBackgroundMark
Target namespace: http://schemas.microsoft.com/office/drawing/2010/main
Referenced by: CT_PictureEffectBackgroundRemoval
A complex type that specifies a line segment that marks a region to exclude from a picture.
Attributes:
x1: An ST_PositiveFixedPercentage attribute ([ISO/IEC-29500-1] section A.4.1) that specifies the first x coordinate of the background mark, relative to the width of a picture.
y1: An ST_PositiveFixedPercentage attribute ([ISO/IEC-29500-1] section A.4.1) that specifies the first y coordinate of the background mark, relative to the height of a picture.
x2: An ST_PositiveFixedPercentage attribute ([ISO/IEC-29500-1] section A.4.1) that specifies the second x coordinate of the background mark, relative to the width of a picture.
y2: An ST_PositiveFixedPercentage attribute ([ISO/IEC-29500-1] section A.4.1) that specifies the second y coordinate of the background mark, relative to the height of a picture.
The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.
<xsd:complexType name="CT_PictureEffectBackgroundRemovalBackgroundMark">
<xsd:attribute name="x1" type="a:ST_PositiveFixedPercentage" use="required"/>
<xsd:attribute name="y1" type="a:ST_PositiveFixedPercentage" use="required"/>
<xsd:attribute name="x2" type="a:ST_PositiveFixedPercentage" use="required"/>
<xsd:attribute name="y2" type="a:ST_PositiveFixedPercentage" use="required"/>
</xsd:complexType>
See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).