ColorMenu Class
UI Default Colors.When the object is serialized out as xml, its qualified name is o:colormenu.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.Vml.Office.ColorMenu
Namespace: DocumentFormat.OpenXml.Vml.Office
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Class ColorMenu _
Inherits OpenXmlLeafElement
'Usage
Dim instance As ColorMenu
public class ColorMenu : OpenXmlLeafElement
Remarks
[ISO/IEC 29500-1 1st Edition]
14.2.2.4 colormenu (UI Default Colors)
This element determines the default colors for different types of colors that can be applied to VML shapes. [Rationale: An application can choose to retain default colors or the last color choices a user made and present those in parts of its user interface. end rationale]
[Example:
<o:shapedefaults … > <o:colormenu v:ext="edit" fillcolor="none" extrusioncolor="#36f"/> </o:shapedefaults>
end example]
Parent Elements |
---|
shapedefaults (§14.2.2.28) |
Attributes |
Description |
---|---|
ext (VML Extension Handling Behavior) Namespace: urn:schemas-microsoft-com:vml |
Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML. [Rationale: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. end rationale] The possible values for this attribute are defined by the ST_Ext simple type (§14.1.3.2). |
extrusioncolor (Default extrusion color) |
The default color associated with the 3D extrusion of a VML shape. Default is "#000000". The possible values for this attribute are defined by the ST_ColorType simple type (§15.1.2.3). |
fillcolor (Default fill color) |
The default color associated with the fill of a VML shape. Default is "#0000FF". The possible values for this attribute are defined by the ST_ColorType simple type (§15.1.2.3). |
shadowcolor (Default shadow color) |
The default color associated with the shadow of a VML shape. Default is "#80800C". The possible values for this attribute are defined by the ST_ColorType simple type (§15.1.2.3). |
strokecolor (Default stroke color) |
The default color associated with the stroke of a VML shape. Default is "#FFFF00". The possible values for this attribute are defined by the ST_ColorType simple type (§15.1.2.3). |
[Note: The W3C XML Schema definition of this element’s content model (CT_ColorMenu) is located in §A.6.2. end note]
© ISO/IEC29500: 2008.
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.