ArtisticWatercolorSponge class

ArtisticWatercolorSponge class

Office 2013 and later

Defines the ArtisticWatercolorSponge Class.This class is available in Office2010 or above. When the object is serialized out as xml, its qualified name is a14:artisticWatercolorSponge.

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Office2010.Drawing.ArtisticWatercolorSponge

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

[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class ArtisticWatercolorSponge : OpenXmlLeafElement

2.5.22 CT_PictureEffectWatercolorSponge

Target namespace: http://schemas.microsoft.com/office/drawing/2010/main

Referenced by: CT_PictureEffect

A complex type that specifies a watercolor sponge effect applied to a picture.

The following figure demonstrates the effect applied to a picture with brushSize values of zero, 2, 5, 7, and 10, respectively.

Figure 23: Effect of changes to brushSize

Attributes:

trans: An ST_PositiveFixedPercentage attribute ([ISO/IEC-29500-1] section A.4.1) that specifies the transparency of the effect. A value of zero percent specifies that the effect is applied fully. A value of 100 percent specifies that the effect is not applied.

brushSize: An ST_ArtisticEffectParam10 attribute that specifies the appearance of the effect.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this complex type.

<xsd:complexType name="CT_PictureEffectWatercolorSponge">

<xsd:attribute name="trans" type="a:ST_PositiveFixedPercentage" use="optional" default="0"/>

<xsd:attribute name="brushSize" type="ST_ArtisticEffectParam10" use="optional" default="2"/>

</xsd:complexType>

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2016 Microsoft