Freigeben über


ArtisticFilmGrain-Klasse

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

Vererbungshierarchie

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

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

Syntax

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

Hinweise

2.5.8 CT_PictureEffectFilmGrain

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

Referenced by: CT_PictureEffect

A complex type that specifies a film grain effect applied to a picture.

Sample demonstrating the effect applied to a picture with grainSize values of 0, 25, 50, 75, and 100 respectively:

DocumentFormat.OpenXml.Office2010.Drawing.Artistic

Attributes:

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

grainSize : An ST_ArtisticEffectParam100 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_PictureEffectFilmGrain">

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

<xsd:attribute name="grainSize" type="ST_ArtisticEffectParam100" use="optional" default="40"/>

</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

ArtisticFilmGrain-Member

DocumentFormat.OpenXml.Office2010.Drawing-Namespace