SlideMasterId Class

Slide Master ID.When the object is serialized out as xml, its qualified name is p:sldMasterId.

Namespace:  DocumentFormat.OpenXml.Presentation
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

public class SlideMasterId : OpenXmlCompositeElement

The following table lists the possible child types:

  • ExtensionList <p:extLst>

[ISO/IEC 29500-1 1st Edition] sldMasterId (Slide Master ID)

This element specifies a slide master that is available within the corresponding presentation. A slide master is a slide that is specifically designed to be a template for all related child layout slides.

[Example: Consider the following specification of a slide master within a presentation

<p:presentation xmlns:a="" xmlns:r="" xmlns:p="" embedTrueTypeFonts="1">
    <p:sldMasterId id="2147483648" r:id="rId1"/>

end example]

Parent Elements

sldMasterIdLst (§

Child Elements


extLst (Extension List)




id (Relationship Identifier)

Namespace: .../officeDocument/2006/relationships

Specifies the relationship identifier that is used in conjunction with a corresponding relationship file to resolve the location within a presentation of the sldMaster element defining this slide master.

The possible values for this attribute are defined by the ST_RelationshipId simple type (§

id (Slide Master Identifier)

Specifies the slide master identifier that is to contain a value that is unique throughout the presentation.

The possible values for this attribute are defined by the ST_SlideMasterId simple type (§19.7.16).

[Note: The W3C XML Schema definition of this element’s content model (CT_SlideMasterIdListEntry) is located in §A.3. end note]

© ISO/IEC29500: 2008.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions