Freigeben über


SharpenSoften-Klasse

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

Vererbungshierarchie

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

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

Syntax

'Declaration
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
Public Class SharpenSoften _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As SharpenSoften
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
public class SharpenSoften : OpenXmlLeafElement

Hinweise

2.5.31 CT_PictureEffectSharpenSoften

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

Referenced by: CT_PictureEffect

A complex type that specifies a sharpen and soften effect applied to a picture.

Sample demonstrating the effect applied to a picture with sharpenSoften values of -100%, -50%, 0%, +50%, and +100% respectively:

DocumentFormat.OpenXml.Office2010.Drawing.SharpenS

Attributes:

amount : An ST_FixedPercentage ([ISO/IEC-29500-1] section A.4.1) attribute that specifies the amount to sharpen if positive or the amount to blur if negative.

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

<xsd:complexType name="CT_PictureEffectSharpenSoften">

<xsd:attribute name="amount" type="a:ST_FixedPercentage" use="optional" default="0"/>

</xsd:complexType>

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

Threadsicherheit

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

Siehe auch

Referenz

SharpenSoften-Member

DocumentFormat.OpenXml.Office2010.Drawing-Namespace