Highlight Class
Highlight Color.When the object is serialized out as xml, its qualified name is a:highlight.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.ColorType
DocumentFormat.OpenXml.Drawing.Highlight
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'宣言
Public Class Highlight _
Inherits ColorType
'使用
Dim instance As Highlight
public class Highlight : ColorType
Remarks
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 初版]
21.1.2.3.4 highlight (Highlight Color)
This element specifies the highlight color that is present for a run of text.
[Example: Consider the DrawingML shown below.
<p:txBody>
…
<a:p>
<a:r>
<a:rPr …>
<a:highlight>
<a:srgbClr val="FFFF00"/>
</a:highlight>
</a:rPr>
…
<a:t>Sample Text</a:t>
…
</a:r>
</a:p>
…
</p:txBody>
The above run of text has a yellow highlight color as specified by the srgbClr child element. end example]
Parent Elements |
---|
defRPr (§21.1.2.3.2); endParaRPr (§21.1.2.2.3); rPr (§21.1.2.3.9) |
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_Color) is located in §A.4.1. end note]
© ISO/IEC29500: 2008. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、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.