Compartir a través de


ImageEffect Class

Defines the ImageEffect Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is a14:imgEffect.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.Drawing.ImageEffect

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ArtisticWatercolorSponge), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticGlass), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticGlowEdges), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticLightScreen), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticLineDrawing), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticMarker), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticMosaicBubbles), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPaintStrokes), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPaintBrush), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPastelsSmooth), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPencilGrayscale), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPencilSketch), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPhotocopy), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticPlasticWrap), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticTexturizer), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BackgroundRemoval), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(BrightnessContrast), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ColorTemperature), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(Saturation), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(SharpenSoften), FileFormatVersions.Office2010)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticGlowDiffused), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticBlur), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticCement), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticChalkSketch), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticCrisscrossEtching), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticCutout), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(ArtisticFilmGrain), FileFormatVersions.Office2010)> _
Public Class ImageEffect _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ImageEffect
[ChildElementInfoAttribute(typeof(ArtisticWatercolorSponge), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticGlass), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticGlowEdges), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticLightScreen), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticLineDrawing), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticMarker), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticMosaicBubbles), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPaintStrokes), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPaintBrush), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPastelsSmooth), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPencilGrayscale), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPencilSketch), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPhotocopy), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticPlasticWrap), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticTexturizer), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BackgroundRemoval), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(BrightnessContrast), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ColorTemperature), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(Saturation), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(SharpenSoften), FileFormatVersions.Office2010)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticGlowDiffused), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticBlur), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticCement), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticChalkSketch), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticCrisscrossEtching), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticCutout), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(ArtisticFilmGrain), FileFormatVersions.Office2010)]
public class ImageEffect : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ArtisticBlur <a14:artisticBlur>

  • ArtisticCement <a14:artisticCement>

  • ArtisticChalkSketch <a14:artisticChalkSketch>

  • ArtisticCrisscrossEtching <a14:artisticCrisscrossEtching>

  • ArtisticCutout <a14:artisticCutout>

  • ArtisticFilmGrain <a14:artisticFilmGrain>

  • ArtisticGlass <a14:artisticGlass>

  • ArtisticGlowDiffused <a14:artisticGlowDiffused>

  • ArtisticGlowEdges <a14:artisticGlowEdges>

  • ArtisticLightScreen <a14:artisticLightScreen>

  • ArtisticLineDrawing <a14:artisticLineDrawing>

  • ArtisticMarker <a14:artisticMarker>

  • ArtisticMosaicBubbles <a14:artisticMosiaicBubbles>

  • ArtisticPaintStrokes <a14:artisticPaintStrokes>

  • ArtisticPaintBrush <a14:artisticPaintBrush>

  • ArtisticPastelsSmooth <a14:artisticPastelsSmooth>

  • ArtisticPencilGrayscale <a14:artisticPencilGrayscale>

  • ArtisticPencilSketch <a14:artisticPencilSketch>

  • ArtisticPhotocopy <a14:artisticPhotocopy>

  • ArtisticPlasticWrap <a14:artisticPlasticWrap>

  • ArtisticTexturizer <a14:artisticTexturizer>

  • ArtisticWatercolorSponge <a14:artisticWatercolorSponge>

  • BackgroundRemoval <a14:backgroundRemoval>

  • BrightnessContrast <a14:brightnessContrast>

  • ColorTemperature <a14:colorTemperature>

  • Saturation <a14:saturation>

  • SharpenSoften <a14:sharpenSoften>

2.5.32 CT_PictureEffect

Target namespace: https://schemas.microsoft.com/office/drawing/2007/7/7/main

Referenced by: CT_PictureLayer

A complex type that specifies an effect applied to a picture. Exactly one child element MUST exist to specify the type of effect.

Child Elements:

artisticBlur : A CT_PictureEffectBlur element that specifies the blur picture effect.

artisticCement : A CT_PictureEffectCement element that specifies the cement picture effect.

artisticChalkSketch : A CT_PictureEffectChalkSketch element that specifies the chalk sketch picture effect.

artisticCrisscrossEtching : A CT_PictureEffectCrisscrossEtching element that specifies the crisscross etching picture effect.

artisticCutout : A CT_PictureEffectCutout element that specifies the cutout picture effect.

artisticFilmGrain : A CT_PictureEffectFilmGrain element that specifies the film grain picture effect.

artisticGlass : A CT_PictureEffectGlass element that specifies the glass picture effect.

artisticGlowDiffused : A CT_PictureEffectGlowDiffused element that specifies the glow diffused picture effect.

artisticGlowEdges : A CT_PictureEffectGlowEdges element that specifies the glow edges picture effect.

artisticLightScreen : A CT_PictureEffectLightScreen element that specifies the light screen picture effect.

artisticLineDrawing : A CT_PictureEffectLineDrawing element that specifies the line drawing picture effect.

artisticMarker : A CT_PictureEffectMarker element that specifies the marker picture effect.

artisticMosiaicBubbles : A CT_PictureEffectMosiaicBubbles element that specifies the mosaic bubbles picture effect.

artisticPaintStrokes : A CT_PictureEffectPaintStrokes element that specifies the paint strokes picture effect.

artisticPaintBrush : A CT_PictureEffectPaintBrush element that specifies the paint brush picture effect.

artisticPastelsSmooth : A CT_PictureEffectPastelsSmooth element that specifies the pastels smooth picture effect.

artisticPencilGrayscale : A CT_PictureEffectPencilGrayscale element that specifies the pencil grayscale picture effect.

artisticPencilSketch : A CT_PictureEffectPencilSketch element that specifies the pencil sketch picture effect.

artisticPhotocopy : A CT_PictureEffectPhotocopy element that specifies the photocopy picture effect.

artisticPlasticWrap : A CT_PictureEffectPlasticWrap element that specifies the plastic wrap picture effect.

artisticTexturizer : A CT_PictureEffectTexturizer element that specifies the texturizer picture effect.

artisticWatercolorSponge : A CT_PictureEffectWatercolorSponge element that specifies the watercolor sponge picture effect.

backgroundRemoval : A CT_PictureEffectBackgroundRemoval element that specifies the background removal picture effect.

brightnessContrast : A CT_PictureEffectBrightnessContrast element that specifies the brightness and contrast picture effect.

colorTemperature : A CT_PictureEffectColorTemperature element that specifies the color tone picture effect.

saturation : A CT_PictureEffectSaturation element that specifies the color saturation picture effect.

sharpenSoften : A CT_PictureEffectSharpenSoften element that specifies the sharpen and soften picture effect.

Attributes:

visible : A boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether this picture effect is rendered.

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

<xsd:complexType name="CT_PictureEffect">

<xsd:choice minOccurs="1" maxOccurs="1">

<xsd:element name="artisticBlur" type="CT_PictureEffectBlur" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticCement" type="CT_PictureEffectCement" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticChalkSketch" type="CT_PictureEffectChalkSketch" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticCrisscrossEtching" type="CT_PictureEffectCrisscrossEtching" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticCutout" type="CT_PictureEffectCutout" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticFilmGrain" type="CT_PictureEffectFilmGrain" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticGlass" type="CT_PictureEffectGlass" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticGlowDiffused" type="CT_PictureEffectGlowDiffused" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticGlowEdges" type="CT_PictureEffectGlowEdges" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticLightScreen" type="CT_PictureEffectLightScreen" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticLineDrawing" type="CT_PictureEffectLineDrawing" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticMarker" type="CT_PictureEffectMarker" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticMosiaicBubbles" type="CT_PictureEffectMosiaicBubbles" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPaintStrokes" type="CT_PictureEffectPaintStrokes" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPaintBrush" type="CT_PictureEffectPaintBrush" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPastelsSmooth" type="CT_PictureEffectPastelsSmooth" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPencilGrayscale" type="CT_PictureEffectPencilGrayscale" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPencilSketch" type="CT_PictureEffectPencilSketch" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPhotocopy" type="CT_PictureEffectPhotocopy" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticPlasticWrap" type="CT_PictureEffectPlasticWrap" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticTexturizer" type="CT_PictureEffectTexturizer" minOccurs="1" maxOccurs="1"/>

<xsd:element name="artisticWatercolorSponge" type="CT_PictureEffectWatercolorSponge" minOccurs="1" maxOccurs="1"/>

<xsd:element name="backgroundRemoval" type="CT_PictureEffectBackgroundRemoval" minOccurs="1" maxOccurs="1"/>

<xsd:element name="brightnessContrast" type="CT_PictureEffectBrightnessContrast" minOccurs="1" maxOccurs="1"/>

<xsd:element name="colorTemperature" type="CT_PictureEffectColorTemperature" minOccurs="1" maxOccurs="1"/>

<xsd:element name="saturation" type="CT_PictureEffectSaturation" minOccurs="1" maxOccurs="1"/>

<xsd:element name="sharpenSoften" type="CT_PictureEffectSharpenSoften" minOccurs="1" maxOccurs="1"/>

</xsd:choice>

<xsd:attribute name="visible" type="xsd:boolean" use="optional" default="true"/>

</xsd:complexType>

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

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

ImageEffect Members

DocumentFormat.OpenXml.Office2010.Drawing Namespace