HeaderFooterReferenceType.Id Propriété

Définition

Relation au composant

Représente l’attribut suivant dans le schéma : r :id

[DocumentFormat.OpenXml.SchemaAttr(19, "id")]
public DocumentFormat.OpenXml.StringValue Id { get; set; }
public DocumentFormat.OpenXml.StringValue Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(19, "id")]
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("r:id")]
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
public DocumentFormat.OpenXml.StringValue? Id { get; set; }
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr(19, "id")>]
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
[<DocumentFormat.OpenXml.SchemaAttr("r:id")>]
member this.Id : DocumentFormat.OpenXml.StringValue with get, set
Public Property Id As StringValue

Valeur de propriété

Retourne StringValue.

Attributs

Remarques

Les informations suivantes de la norme internationale ECMA ECMA-376 peuvent être utiles lors de l’utilisation de cette classe.

Spécifie l’ID de relation à un composant spécifié.

La relation spécifiée doit correspondre au type requis par l’élément parent :

  • http://schemas.openxmlformats.org/officeDocument/2006/relationships/footerpour l’élément footerReference

  • http://schemas.openxmlformats.org/officeDocument/2006/relationships/headerpour l’élément headerReference

  • http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontpour les embedBoldéléments , embedBoldItalic, embedItalicou embedRegular

  • http://schemas.openxmlformats.org/officeDocument/2006/relationships/printerSettingspour l’élément printerSettings

Prenons l’exemple d’un élément XML qui a l’attribut suivant id :

<… r:id="rId10" />  

Le balisage spécifie la partie de relation associée avec l’ID rId1 de relation contenant les informations de relation correspondantes pour l’élément XML parent.

Les valeurs possibles pour cet attribut sont définies par le ST_RelationshipId type simple.

S’applique à