Share via


WebColorValues 枚举

定义

HTML 幻灯片导航控件颜色

public enum WebColorValues
public readonly struct WebColorValues : DocumentFormat.OpenXml.IEnumValue, DocumentFormat.OpenXml.IEnumValueFactory<DocumentFormat.OpenXml.Presentation.WebColorValues>, IEquatable<DocumentFormat.OpenXml.Presentation.WebColorValues>
type WebColorValues = 
type WebColorValues = struct
    interface IEnumValue
    interface IEnumValueFactory<WebColorValues>
Public Enum WebColorValues
Public Structure WebColorValues
Implements IEnumValue, IEnumValueFactory(Of WebColorValues), IEquatable(Of WebColorValues)
继承
WebColorValues
继承
WebColorValues

字段

WebColorValues(String)

创建新的 WebColorValues 枚举实例

BlackTextOnWhite 5

白色的黑色文本。

将项序列化为 xml 时,其值为“blackTextOnWhite”。

BlackTextOnWhite

白色的黑色文本。

将项序列化为 xml 时,其值为“blackTextOnWhite”。

Browser 1

浏览器颜色。

当项序列化为 xml 时,其值为“browser”。

Browser

浏览器颜色。

当项序列化为 xml 时,其值为“browser”。

Equals(Object)
Equals(WebColorValues)
GetHashCode()
None 0

非特定颜色。

当项序列化为 xml 时,其值为“none”。

None

非特定颜色。

当项序列化为 xml 时,其值为“none”。

Equality(WebColorValues, WebColorValues)
Inequality(WebColorValues, WebColorValues)
PresentationAccent 3

演示文稿主题色。

将项序列化为 xml 时,其值为“presentationAccent”。

PresentationAccent

演示文稿主题色。

将项序列化为 xml 时,其值为“presentationAccent”。

PresentationText 2

演示文稿文本颜色。

将项序列化为 xml 时,其值为“presentationText”。

PresentationText

演示文稿文本颜色。

将项序列化为 xml 时,其值为“presentationText”。

ToString()
WhiteTextOnBlack 4

黑色颜色的白色文本。

当项序列化为 xml 时,其值为“whiteTextOnBlack”。

WhiteTextOnBlack

黑色颜色的白色文本。

当项序列化为 xml 时,其值为“whiteTextOnBlack”。

IEnumValue.IsValid
IEnumValue.Value
IEnumValue.Version
IEnumValueFactory<WebColorValues>.Create(String)

适用于