ColorSchemeMapping.Accent2 Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Accent 2 Theme Color Mapping
Represents the following attribute in the schema: w:accent2
[DocumentFormat.OpenXml.SchemaAttr(23, "accent2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> Accent2 { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> Accent2 { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "accent2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Accent2 { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:accent2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Accent2 { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Accent2 { get; set; }
member this.Accent2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "accent2")>]
member this.Accent2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:accent2")>]
member this.Accent2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
Public Property Accent2 As EnumValue(Of ColorSchemeIndexValues)
Property Value
Returns EnumValue<T>.
- Attributes
Remarks
The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.
Specifies the theme color in the document's theme part which shall be used in place of this color when it is referenced by document content.
If this attribute is omitted, then the accent2
theme color shall be used.
Consider a WordprocessingML document that shall have the references to the theme color accent2
mapped to the theme color hlink
as defined in the document's theme part. This requirement would be specified using the following WordprocessingML in the document settings:
<w:clrSchemeMapping w:accent2="hyperlink" />
The accent2
attribute has a value of hyperlink
, specifying that uses of the theme color value accent2
shall be mapped to the theme color hlink
.
The possible values for this attribute are defined by the ST_ColorSchemeIndex
simple type.