Shape Classe

Définition

Définition de forme.

Cette classe est disponible dans Office 2007 et versions ultérieures.

Lorsque l’objet est sérialisé au format xml, son nom qualifié est v :shape.

[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Path))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Formulas))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ShapeHandles))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Fill))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Stroke))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Shadow))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextBox))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextPath))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ImageData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Skew))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Extrusion))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Callout))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Lock))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.ClipPath))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.SignatureLine))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TextWrap))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TopBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.BottomBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.LeftBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Spreadsheet.ClientData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.TextData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Ink))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.InkAnnotationFlag))]
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)]
[DocumentFormat.OpenXml.SchemaAttr(26, "shape")]
public class Shape : DocumentFormat.OpenXml.OpenXmlCompositeElement
public class Shape : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.SchemaAttr(26, "shape")]
public class Shape : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.SchemaAttr("v:shape")]
public class Shape : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.SchemaAttr("v:shape")]
public class Shape : DocumentFormat.OpenXml.TypedOpenXmlCompositeElement
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Path))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Formulas))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ShapeHandles))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Fill))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Stroke))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Shadow))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextBox))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextPath))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ImageData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Skew))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Extrusion))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Callout))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Lock))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.ClipPath))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.SignatureLine))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TextWrap))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TopBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.BottomBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.LeftBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Spreadsheet.ClientData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.TextData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Ink))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.InkAnnotationFlag))]
public class Shape : DocumentFormat.OpenXml.OpenXmlCompositeElement
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Path))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Formulas))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ShapeHandles))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Fill))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Stroke))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Shadow))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextBox))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextPath))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ImageData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Skew))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Extrusion))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Callout))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Lock))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.ClipPath))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.SignatureLine))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TextWrap))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TopBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.BottomBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.LeftBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Spreadsheet.ClientData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.TextData))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Ink))]
[DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.InkAnnotationFlag))]
[DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)]
public class Shape : DocumentFormat.OpenXml.OpenXmlCompositeElement
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Path))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Formulas))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ShapeHandles))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Fill))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Stroke))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Shadow))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextBox))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextPath))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ImageData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Skew))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Extrusion))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Callout))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Lock))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.ClipPath))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.SignatureLine))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TextWrap))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TopBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.BottomBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.LeftBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Spreadsheet.ClientData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.TextData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Ink))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.InkAnnotationFlag))>]
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)>]
[<DocumentFormat.OpenXml.SchemaAttr(26, "shape")>]
type Shape = class
    inherit OpenXmlCompositeElement
type Shape = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.SchemaAttr(26, "shape")>]
type Shape = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.SchemaAttr("v:shape")>]
type Shape = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.SchemaAttr("v:shape")>]
type Shape = class
    inherit TypedOpenXmlCompositeElement
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Path))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Formulas))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ShapeHandles))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Fill))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Stroke))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Shadow))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextBox))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextPath))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ImageData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Skew))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Extrusion))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Callout))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Lock))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.ClipPath))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.SignatureLine))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TextWrap))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TopBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.BottomBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.LeftBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Spreadsheet.ClientData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.TextData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Ink))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.InkAnnotationFlag))>]
type Shape = class
    inherit OpenXmlCompositeElement
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Path))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Formulas))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ShapeHandles))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Fill))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Stroke))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Shadow))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextBox))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.TextPath))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.ImageData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Skew))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Extrusion))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Callout))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Lock))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.ClipPath))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.SignatureLine))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TextWrap))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.AnchorLock))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.TopBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.BottomBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.LeftBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Wordprocessing.RightBorder))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Spreadsheet.ClientData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.TextData))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Office.Ink))>]
[<DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Vml.Presentation.InkAnnotationFlag))>]
[<DocumentFormat.OpenXml.OfficeAvailability(DocumentFormat.OpenXml.FileFormatVersions.Office2007)>]
type Shape = class
    inherit OpenXmlCompositeElement
Public Class Shape
Inherits OpenXmlCompositeElement
Public Class Shape
Inherits TypedOpenXmlCompositeElement
Héritage
Héritage
Attributs

Remarques

[ISO/IEC 29500-1 1st Edition]

shape (Shape Definition)

Cet élément est utilisé pour décrire une forme, l’objet principal dans VML. Cet élément peut apparaître seul ou dans un élément de groupe (§14.1.2.7). Si un élément shapetype (§14.1.2.20) est référencé à l’aide de l’attribut type, tous les attributs spécifiés dans la forme remplacent ceux trouvés dans le shapetype.

[Exemple :

<v:shape style="position:absolute;top:50;left:20;width:50;height:50"   
  path="m  0,1000 1000,1000 1000,0 x e">  
  <v:shadow on="true" type="perspective"   
    matrix="1.25,-2,,1.5,,.000001" offset="38pt,-6pt"/>  
</v:shape>  
<v:shape style="position:absolute;top:50;left:20;width:50;height:50"   
  fillcolor="yellow" path="m  0,1000 1000,1000 1000,0 x e">  
  <v:extrusion on="true" lightposition="0,-2000,10000"/>  
</v:shape>  

94f201a9-9638-4b7b-bf6d-8c383cff3d8f

Fin de l’exemple]

Éléments parents
arrière-plan (partie 1, §17.2.1) ; groupe (§14.1.2.7) ; objet (Partie 1, §17.3.3.19) ; pict (§9.2.2.2) ; pict (§9.5.1)
Éléments enfants Paragraphe
anchorlock (l’emplacement de l’ancre est verrouillé) §14.3.2.1
borderbottom (Bordure inférieure) §14.3.2.2
borderleft (Bordure gauche) §14.3.2.3
borderright (Bordure droite) §14.3.2.4
bordertop (Top Border) §14.3.2.5
légende (Légende) §14.2.2.2
ClientData (données d’objet jointes) §14.4.2.12
clippath (Chemin de découpage de forme) §14.2.2.3
equationxml (Stockage pour le contenu mathématique de remplacement) §14.2.2.10
extrusion (extrusion 3D) §14.2.2.11
fill (Propriétés de remplissage de forme) §14.1.2.5
formulas (Jeu de formules) §14.1.2.6
handles (jeu de handles) §14.1.2.9
imagedata (Données d’image) §14.1.2.11
entrée manuscrite (entrée manuscrite) §14.2.2.15
iscomment (Indicateur d’annotation d’entrée manuscrite) §14.5.2.1
lock (Protections de forme) §14.2.2.18
path (Shape Path) §14.1.2.14
ombre (effet d’ombre) §14.1.2.18
ligne de signature (ligne de signature numérique) §14.2.2.30
asymétrie (transformation d’asymétrie) §14.2.2.31
stroke (Paramètres de trait de ligne) §14.1.2.21
zone de texte (zone de texte) §14.1.2.22
textdata (texte du diagramme VML) §14.5.2.2
textpath (Text Layout Path) §14.1.2.23
wrap (habillage de texte) §14.3.2.6

[Remarque : La définition de schéma XML W3C du modèle de contenu de cet élément (CT_Shape) se trouve dans §A.6.1. Fin de la remarque]

ISO/IEC29500 : 2008.

Constructeurs

Shape()

Initialise une nouvelle instance de la classe Shape.

Shape(IEnumerable<OpenXmlElement>)

Initialise une nouvelle instance de la classe Shape avec les éléments enfants spécifiés.

Shape(OpenXmlElement[])

Initialise une nouvelle instance de la classe Shape avec les éléments enfants spécifiés.

Shape(String)

Initialise une nouvelle instance de la classe Shape à partir d’un code XML externe.

Propriétés

Adjustment

Paramètres d’ajustement

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

AllowInCell

Autoriser dans la cellule de tableau

Représente l’attribut suivant dans le schéma : o :allowincell

AllowOverlap

Autoriser le chevauchement de formes

Représente l’attribut suivant dans le schéma : o :allowoverlap

Alternate

Texte de remplacement

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

BlackWhiteMode

Mode noir et blanc

Représente l’attribut suivant dans le schéma : o :bwmode

BorderBottomColor

Couleur de bordure inférieure

Représente l’attribut suivant dans le schéma : o :borderbottomcolor

BorderLeftColor

Couleur de la bordure gauche

Représente l’attribut suivant dans le schéma : o :borderleftcolor

BorderRightColor

Couleur de bordure droite

Représente l’attribut suivant dans le schéma : o :borderrightcolor

BorderTopColor

Couleur supérieure de bordure

Représente l’attribut suivant dans le schéma : o :bordertopcolor

Bullet

Puce graphique

Représente l’attribut suivant dans le schéma : o :bullet

Button

Bouton bascule sur le comportement

Représente l’attribut suivant dans le schéma : o :button

ChildElements

Obtient tous les nœuds enfants de l’élément actuel.

(Hérité de OpenXmlElement)
Class

Référence CSS

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

Clip

Bouton bascule de découpage

Représente l’attribut suivant dans le schéma : o :clip

ClipToWrap

Découper dans un polygone en encapsuler

Représente l’attribut suivant dans le schéma : o :cliptowrap

ConnectorType

Type de connecteur de forme

Représente l’attribut suivant dans le schéma : o :connectortype

CoordinateOrigin

Origine de l’espace de coordonnées

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

CoordinateSize

Taille de l’espace de coordonnées

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

DiagramLayout

Identificateur de disposition de nœud de diagramme

Représente l’attribut suivant dans le schéma : o :dgmlayout

DiagramLayoutMostRecentUsed

Identificateur de disposition récente du nœud de diagramme

Représente l’attribut suivant dans le schéma : o :dgmlayoutmru

DiagramNodeKind

Identificateur de nœud de diagramme

Représente l’attribut suivant dans le schéma : o :dgmnodekind

DoubleClickNotify

Double-cliquez sur Notification Toggle

Représente l’attribut suivant dans le schéma : o :doubleclicknotify

EdgePath

Chemin d’accès de périphérie

Représente l’attribut suivant dans le schéma : chemin d’accès

EncodedPackage

Package encodé

Représente l’attribut suivant dans le schéma : o :gfxdata

EquationXml

Stockage pour le contenu mathématique de remplacement

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

ExtendedAttributes

Obtient tous les attributs étendus (attributs non définis dans le schéma) de l’élément actuel.

(Hérité de OpenXmlElement)
Features

Obtient un IFeatureCollection pour l’élément actuel. Cette collection de fonctionnalités sera en lecture seule, mais héritera des fonctionnalités de sa partie parente et de son package, le cas échéant.

(Hérité de OpenXmlElement)
FillColor

Couleur de remplissage

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

Filled

Bouton bascule de remplissage de forme

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

FirstChild

Obtient le premier enfant de l’élément OpenXmlElement actuel.

(Hérité de OpenXmlCompositeElement)
ForceDash

Forcer le contour en pointillés

Représente l’attribut suivant dans le schéma : o :forcedash

HasAttributes

Obtient une valeur indiquant si l’élément actuel a des attributs.

(Hérité de OpenXmlElement)
HasChildren

Obtient une valeur qui indique si l’élément actuel a des éléments enfants.

(Hérité de OpenXmlCompositeElement)
Horizontal

Bascule de règle horizontale

Représente l’attribut suivant dans le schéma : o :hr

HorizontalAlignment

Alignement de la règle horizontale

Représente l’attribut suivant dans le schéma : o :hralign

HorizontalNoShade

Bascule d’ombrage 3D de règle horizontale

Représente l’attribut suivant dans le schéma : o :hrnoshade

HorizontalPercentage

Pourcentage de longueur de règle horizontale

Représente l’attribut suivant dans le schéma : o :hrpct

HorizontalStandard

Bascule d’affichage standard de règle horizontale

Représente l’attribut suivant dans le schéma : o :hrstd

Href

Cible de lien hypertexte

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

Id

Identificateur unique

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

InnerText

Obtient ou définit les valeurs concaténées du nœud actuel et de tous ses enfants.

(Hérité de OpenXmlCompositeElement)
InnerXml

Obtient ou définit le balisage qui représente uniquement les nœuds enfants du nœud actuel.

(Hérité de OpenXmlCompositeElement)
InsetMode

Mode texte incrusé

Représente l’attribut suivant dans le schéma : o :insetmode

InsetPen

Bordure de l’incrussurer à partir du chemin

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

LastChild

Obtient le dernier enfant de l’élément OpenXmlElement actuel. Retourne null (Nothing en Visual Basic) s’il n’existe aucun élément OpenXmlElement de ce type.

(Hérité de OpenXmlCompositeElement)
LocalName

Définition de forme.

Cette classe est disponible dans Office 2007 et versions ultérieures.

Lorsque l’objet est sérialisé au format xml, son nom qualifié est v :shape.

LocalName

Obtient le nom local de l’élément actuel.

(Hérité de OpenXmlElement)
MCAttributes

Obtient ou définit les attributs de compatibilité du balisage. Retourne null si aucun attribut de compatibilité de balisage n’est défini pour l’élément actuel.

(Hérité de OpenXmlElement)
NamespaceDeclarations

Obtient toutes les déclarations d’espace de noms définies dans l’élément actuel. Retourne un énumérateur vide s’il n’y a pas de déclaration d’espace de noms.

(Hérité de OpenXmlElement)
NamespaceUri

Obtient l’URI d’espace de noms de l’élément actuel.

(Hérité de OpenXmlElement)
NormalBlackWhiteMode

Mode noir et blanc normal

Représente l’attribut suivant dans le schéma : o :bwnormal

Ole

Bouton bascule d’objet incorporé

Représente l’attribut suivant dans le schéma : o :ole

OleIcon

Icône d’objet incorporé bascule

Représente l’attribut suivant dans le schéma : o :oleicon

Oned

Bascule de poignée de forme

Représente l’attribut suivant dans le schéma : o :oned

OpenXmlElementContext

Obtient l’élément OpenXmlElementContext de l’élément actuel.

(Hérité de OpenXmlElement)
OptionalNumber

Numéro facultatif

Représente l’attribut suivant dans le schéma : o :spt

OptionalString

Chaîne facultative

Représente l’attribut suivant dans le schéma : o :spid

OuterXml

Obtient le balisage qui représente l’élément actuel et tous ses éléments enfants.

(Hérité de OpenXmlElement)
Parent

Obtient l’élément parent de l’élément actuel.

(Hérité de OpenXmlElement)
PreferRelative

Bouton bascule de redimensionnement relatif

Représente l’attribut suivant dans le schéma : o :preferrelative

Prefix

Obtient le préfixe d’espace de noms de l’élément actuel.

(Hérité de OpenXmlElement)
Print

Bouton bascule d’impression

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

PureBlackWhiteMode

Mode noir et blanc pur

Représente l’attribut suivant dans le schéma : o :bwpure

RegroupId

ID de regroupement

Représente l’attribut suivant dans le schéma : o :regroupid

StrokeColor

Couleur du trait de forme

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

Stroked

Bouton bascule de trait de forme

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

StrokeWeight

Poids du trait de forme

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

Style

Propriétés de style de forme

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

Target

Cible d’affichage de lien hypertexte

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

Title

Titre de la forme

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

Type

Informations de référence sur le type de forme

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

UserDrawn

Existe dans la diapositive maître

Représente l’attribut suivant dans le schéma : o :userdrawn

UserHidden

Masquer les ancres de script

Représente l’attribut suivant dans le schéma : o :userhidden

WrapCoordinates

Polygone englobant de forme

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

XmlQualifiedName

Obtient le nom qualifié de l’élément actuel.

(Hérité de OpenXmlElement)
XName

Obtient le nom qualifié de l’élément actuel.

(Hérité de OpenXmlElement)

Méthodes

AddAnnotation(Object)

Ajoute un objet à la liste d’annotations de l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
AddChild(OpenXmlElement, Boolean)

Ajoute l’élément spécifié à l’élément s’il s’agit d’un enfant connu. Cela ajoute l’élément à l’emplacement approprié en fonction du schéma.

(Hérité de OpenXmlCompositeElement)
AddNamespaceDeclaration(String, String)

Ajoute une déclaration d’espace de noms au nœud actuel.

(Hérité de OpenXmlElement)
Ancestors()

Énumère tous les ancêtres de l’élément actuel.

(Hérité de OpenXmlElement)
Ancestors<T>()

Énumère uniquement les ancêtres de l’élément actuel qui ont le type spécifié.

(Hérité de OpenXmlElement)
Annotation(Type)

Obtenez le premier objet d’annotation du type spécifié à partir de l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
Annotation<T>()

Obtenez le premier objet d’annotation du type spécifié à partir de l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
Annotations(Type)

Obtient une collection d’annotations avec le type spécifié pour l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
Annotations<T>()

Obtient une collection d’annotations avec le type spécifié pour l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
Append(IEnumerable<OpenXmlElement>)

Ajoute chaque élément d’une liste d’éléments à la fin de la liste des éléments enfants de l’élément actuel.

(Hérité de OpenXmlElement)
Append(OpenXmlElement[])

Ajoute chaque élément d’un tableau d’éléments à la fin de la liste des éléments enfants de l’élément actuel.

(Hérité de OpenXmlElement)
AppendChild<T>(T)

Ajoute l’élément spécifié à la fin de la liste des nœuds enfants de l’élément actuel.

(Hérité de OpenXmlCompositeElement)
ClearAllAttributes()

Efface tous les attributs, y compris les attributs connus et les attributs étendus.

(Hérité de OpenXmlElement)
Clone()

Crée un doublon du nœud actuel.

(Hérité de OpenXmlElement)
CloneNode(Boolean)

Crée un doublon de ce nœud.

Descendants()

Énumère tous les descendants de l’élément actuel.

(Hérité de OpenXmlElement)
Descendants<T>()

Énumérez tous les descendants de l’élément actuel de type T.

(Hérité de OpenXmlElement)
Elements()

Énumère tous les enfants de l’élément actuel.

(Hérité de OpenXmlElement)
Elements<T>()

Énumère uniquement les enfants de l’élément actuel qui ont le type spécifié.

(Hérité de OpenXmlElement)
ElementsAfter()

Énumère tous les éléments frères qui suivent l’élément actuel et ont le même parent que l’élément actuel.

(Hérité de OpenXmlElement)
ElementsBefore()

Énumère tous les éléments frères qui précèdent l’élément actuel et ont le même parent que l’élément actuel.

(Hérité de OpenXmlElement)
GetAttribute(String, String)

Obtient un attribut Open XML avec le nom de balise et l’URI d’espace de noms spécifiés.

(Hérité de OpenXmlElement)
GetAttributes()

Obtient une liste qui contient une copie de tous les attributs.

(Hérité de OpenXmlElement)
GetEnumerator()

Retourne un énumérateur qui itère au sein de la collection enfant.

(Hérité de OpenXmlElement)
GetFirstChild<T>()

Recherche le premier élément enfant de type T.

(Hérité de OpenXmlElement)
InsertAfter<T>(T, OpenXmlElement)

Insère l’élément spécifié immédiatement après l’élément de référence spécifié.

(Hérité de OpenXmlCompositeElement)
InsertAfterSelf<T>(T)

Insère l’élément spécifié immédiatement après l’élément actuel.

(Hérité de OpenXmlElement)
InsertAt<T>(T, Int32)

Insère l’élément spécifié à l’index spécifié des enfants de l’élément actuel.

(Hérité de OpenXmlCompositeElement)
InsertBefore<T>(T, OpenXmlElement)

Insère l’élément spécifié juste avant l’élément de référence spécifié.

(Hérité de OpenXmlCompositeElement)
InsertBeforeSelf<T>(T)

Insère l’élément spécifié juste avant l’élément actuel.

(Hérité de OpenXmlElement)
IsAfter(OpenXmlElement)

Détermine si l’élément actuel apparaît après un élément spécifié dans l’ordre du document.

(Hérité de OpenXmlElement)
IsBefore(OpenXmlElement)

Détermine si l’élément actuel apparaît avant un élément spécifié dans l’ordre du document.

(Hérité de OpenXmlElement)
LookupNamespace(String)

Résout le préfixe d’espace de noms dans le contexte du nœud actuel.

(Hérité de OpenXmlElement)
LookupPrefix(String)

Recherche le préfixe correspondant pour un URI d’espace de noms dans l’étendue de l’élément actuel.

(Hérité de OpenXmlElement)
NextSibling()

Obtient l’élément OpenXmlElement qui suit immédiatement l’élément OpenXmlElement actuel. Retourne null (Nothing en Visual Basic) s’il n’existe aucun élément OpenXmlElement suivant.

(Hérité de OpenXmlElement)
NextSibling<T>()

Obtient l’élément OpenXmlElement avec le type spécifié qui suit l’élément OpenXmlElement actuel. Retourne null (Nothing en Visual Basic) s’il n’y a pas d’élément OpenXmlElement suivant.

(Hérité de OpenXmlElement)
PrependChild<T>(T)

Insère l’élément spécifié au début de la liste des nœuds enfants de l’élément actuel.

(Hérité de OpenXmlCompositeElement)
PreviousSibling()

Obtient l’élément OpenXmlElement qui précède immédiatement l’élément OpenXmlElement actuel. Retourne null (Nothing en Visual Basic ) s’il n’existe aucun élément OpenXmlElement précédent.

(Hérité de OpenXmlElement)
PreviousSibling<T>()

Obtient l’élément OpenXmlElement avec le type spécifié qui précède l’élément OpenXmlElement actuel. Retourne null (Nothing en Visual Basic) s’il n’existe aucun élément OpenXmlElement précédent.

(Hérité de OpenXmlElement)
Remove()

Supprime l’élément actuel de son parent.

(Hérité de OpenXmlElement)
RemoveAllChildren()

Supprime tous les éléments enfants de l’élément actuel.

(Hérité de OpenXmlCompositeElement)
RemoveAllChildren<T>()

Supprimez tous les éléments enfants de l’élément actuel qui sont de type T.

(Hérité de OpenXmlElement)
RemoveAnnotations(Type)

Supprime les annotations du type spécifié de l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
RemoveAnnotations<T>()

Supprime les annotations avec le type spécifié de l’élément OpenXmlElement actuel.

(Hérité de OpenXmlElement)
RemoveAttribute(String, String)

Supprime l’attribut de l’élément actuel.

(Hérité de OpenXmlElement)
RemoveChild<T>(T)

Supprime l’élément enfant spécifié.

(Hérité de OpenXmlCompositeElement)
RemoveNamespaceDeclaration(String)

Supprime la déclaration d’espace de noms pour le préfixe spécifié. Ne supprime rien s’il n’y a pas de préfixe.

(Hérité de OpenXmlElement)
ReplaceChild<T>(OpenXmlElement, T)

Remplace l’un des éléments enfants de l’élément actuel par un autre élément OpenXmlElement.

(Hérité de OpenXmlCompositeElement)
SetAttribute(OpenXmlAttribute)

Définit un attribut sur l’élément spécifié. Si l’attribut est un attribut connu, la valeur de l’attribut est définie. Si l’attribut est un attribut étendu, l’attribut « openxmlAttribute » est ajouté à la liste des attributs étendus.

(Hérité de OpenXmlElement)
SetAttributes(IEnumerable<OpenXmlAttribute>)

Définit un certain nombre d’attributs à l’élément . Si un attribut est un attribut connu, la valeur de l’attribut est définie. Si un attribut est un attribut étendu, l’attribut « openxmlAttribute » est ajouté à la liste des attributs étendus.

(Hérité de OpenXmlElement)
WriteTo(XmlWriter)

Enregistre le nœud actuel dans le XmlWriter spécifié.

(Hérité de OpenXmlElement)

Implémentations d’interfaces explicites

IEnumerable.GetEnumerator()

Définition de forme.

Cette classe est disponible dans Office 2007 et versions ultérieures.

Lorsque l’objet est sérialisé au format xml, son nom qualifié est v :shape.

(Hérité de OpenXmlElement)
IEnumerable<OpenXmlElement>.GetEnumerator()

Retourne un énumérateur qui itère au sein de la collection enfant.

(Hérité de OpenXmlElement)

S’applique à