Freigeben über


Duotone-Klasse

Duotone Effect.When the object is serialized out as xml, its qualified name is a:duotone.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Duotone

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(RgbColorModelPercentage))> _
<ChildElementInfoAttribute(GetType(RgbColorModelHex))> _
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(SystemColor))> _
<ChildElementInfoAttribute(GetType(SchemeColor))> _
<ChildElementInfoAttribute(GetType(PresetColor))> _
Public Class Duotone _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Duotone
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(SystemColor))]
[ChildElementInfoAttribute(typeof(SchemeColor))]
[ChildElementInfoAttribute(typeof(PresetColor))]
public class Duotone : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • RgbColorModelPercentage <a:scrgbClr>

  • RgbColorModelHex <a:srgbClr>

  • HslColor <a:hslClr>

  • SystemColor <a:sysClr>

  • SchemeColor <a:schemeClr>

  • PresetColor <a:prstClr>

[ISO/IEC 29500-1 1. Ausgabe]

20.1.8.23 duotone (Duotone Effect)

This element specifies a duotone effect.

For each pixel, combines clr1 and clr2 through a linear interpolation to determine the new color for that pixel.

Parent Elements

blip (§20.1.8.13); cont (§20.1.8.20); effectDag (§20.1.8.25)

Child Elements

Subclause

hslClr (Hue, Saturation, Luminance Color Model)

§20.1.2.3.13

prstClr (Preset Color)

§20.1.2.3.22

schemeClr (Scheme Color)

§20.1.2.3.29

scrgbClr (RGB Color Model - Percentage Variant)

§20.1.2.3.30

srgbClr (RGB Color Model - Hex Variant)

§20.1.2.3.32

sysClr (System Color)

§20.1.2.3.33

[Note: The W3C XML Schema definition of this element's content model (CT_DuotoneEffect) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

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

Siehe auch

Referenz

Duotone-Member

DocumentFormat.OpenXml.Drawing-Namespace