Partager via


LaserColor Class

Defines the LaserColor Class.This class is only available in Office2010.When the object is serialized out as xml, its qualified name is p14:laserClr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office2010.PowerPoint.LaserColor

Namespace:  DocumentFormat.OpenXml.Office2010.PowerPoint
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(SystemColor))> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(HslColor))> _
<ChildElementInfoAttribute(GetType(RgbColorModelPercentage))> _
<ChildElementInfoAttribute(GetType(PresetColor))> _
<ChildElementInfoAttribute(GetType(RgbColorModelHex))> _
<ChildElementInfoAttribute(GetType(SchemeColor))> _
Public Class LaserColor _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As LaserColor
[ChildElementInfoAttribute(typeof(SystemColor))]
[OfficeAvailabilityAttribute(FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(HslColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelPercentage))]
[ChildElementInfoAttribute(typeof(PresetColor))]
[ChildElementInfoAttribute(typeof(RgbColorModelHex))]
[ChildElementInfoAttribute(typeof(SchemeColor))]
public class LaserColor : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.RgbColorModelPercentage <a:scrgbClr>

  • DocumentFormat.OpenXml.Drawing.RgbColorModelHex <a:srgbClr>

  • DocumentFormat.OpenXml.Drawing.HslColor <a:hslClr>

  • DocumentFormat.OpenXml.Drawing.SystemColor <a:sysClr>

  • DocumentFormat.OpenXml.Drawing.SchemeColor <a:schemeClr>

  • DocumentFormat.OpenXml.Drawing.PresetColor <a:prstClr>

2.3.15 laserClr

Target namespace: https://schemas.microsoft.com/office/powerpoint/2007/7/12/main

An a:CT_Color ([ISO/IEC-29500-4] section A.4.1) element that specifies the color to be used to render the laser dot. See section 2.2.6 for how this element integrates with ISO/IEC-29500:2008.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

<xsd:element name="laserClr" type="a:CT_Color"/>

See section 5.1 for the full W3C XML Schema ([XMLSCHEMA1] section 2.1).

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

LaserColor Members

DocumentFormat.OpenXml.Office2010.PowerPoint Namespace