Grayscale Class

Gray Scale Effect.When the object is serialized out as xml, its qualified name is a:grayscl.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Drawing.Grayscale

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

Syntax

声明
Public Class Grayscale _
    Inherits OpenXmlLeafElement
用法
Dim instance As Grayscale
public class Grayscale : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 第 1 个版本]

20.1.8.34 grayscl (Gray Scale Effect)

This element specifies a gray scale effect. Converts all effect color values to a shade of gray, corresponding to their luminance. Effect alpha (opacity) values are unaffected.

Parent Elements

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

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

© ISO/IEC29500: 2008. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,ISO 对此翻译不承担任何责任。

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

Grayscale Members

DocumentFormat.OpenXml.Drawing Namespace