Share via


ExtendedGuide class

Defines the ExtendedGuide Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is p15:guide.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office15.PowerPoint.ExtendedGuide

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(ExtensionList), FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(ColorType), FileFormatVersions.Office15)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
Public Class ExtendedGuide _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As ExtendedGuide
[ChildElementInfoAttribute(typeof(ExtensionList), FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(ColorType), FileFormatVersions.Office15)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
public class ExtendedGuide : OpenXmlCompositeElement

Remarks

2.5.34 CT_ExtendedGuide

Target namespace: https://schemas.microsoft.com/office/powerpoint/2012/main

Referenced by: CT_ExtendedGuideList

A complex type that specifies a guide within a presentation. Guides are lines used for arranging shapes and other content.

Child Elements:

clr: A CT_Color element ([ISO/IEC-29500-4] section A.4.1) that specifies the color of the guide.

extLst: A CT_ExtensionList element ([ISO/IEC-29500-4] section A.3) that specifies the extension list. All future extensions to the guide will be stored in the extension list.

Attributes:

id: An xsd:unsignedInt attribute ([XMLSCHEMA2] section 3.3.22) that specifies a unique identifier for the guide. The identifier MUST be unique within its parent CT_ExtendedGuideList (section 2.5.35).

name: An xsd:string attribute ([XMLSCHEMA2] section 3.2.1) that specifies the name of the guide.

orient: An ST_Direction attribute ([ISO/IEC-29500-4] section A.3) that specifies the orientation of the guide.

pos: An ST_Coordinate32 attribute ([ISO/IEC-29500-4] section A.4.1) that specifies the position of the guide relative to the top or left side of the slide.

userDrawn: A xsd:boolean ([XMLSCHEMA2] section 3.2.2) attribute that specifies whether the guide was inserted by the user.

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

<xsd:complexType name="CT_ExtendedGuide">

<xsd:sequence>

<xsd:element name="clr" type="a:CT_Color" minOccurs="1" maxOccurs="1"/>

<xsd:element name="extLst" type="p:CT_ExtensionList" minOccurs="0" maxOccurs="1"/>

</xsd:sequence>

<xsd:attribute name="id" type="xsd:unsignedInt" use="required"/>

<xsd:attribute name="name" type="xsd:string" use="optional" default=""/>

<xsd:attribute name="orient" type="p:ST_Direction" use="optional" default="vert"/>

<xsd:attribute name="pos" type="a:ST_Coordinate32" use="optional" default="0"/>

<xsd:attribute name="userDrawn" type="xsd:boolean" use="optional" default="false"/>

</xsd:complexType>

See section 5.3 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

ExtendedGuide members

DocumentFormat.OpenXml.Office15.PowerPoint namespace