PowerPoint.GeometricShapeType enum
Spécifie le type de forme d’un GeometricShape objet .
Remarques
[ Ensemble d’API : PowerPointApi 1.4 ]
Exemples
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/shapes/shapes.yaml
// This function gets the collection of shapes on the first slide,
// and adds a hexagon shape to the collection, while specifying its
// location and size. Then it names the shape.
await PowerPoint.run(async (context) => {
const shapes: PowerPoint.ShapeCollection = context.presentation.slides.getItemAt(0).shapes;
const shapeOptions: PowerPoint.ShapeAddOptions = {
left: 100,
top: 100,
height: 150,
width: 150,
};
const hexagon: PowerPoint.Shape = shapes.addGeometricShape(PowerPoint.GeometricShapeType.hexagon, shapeOptions);
hexagon.name = "Hexagon";
await context.sync();
});
Champs
| accentBorderCallout1 = "AccentBorderCallout1" | Légende : Ligne avec bordure et barre d’accentuation |
| accentBorderCallout2 = "AccentBorderCallout2" | Légende : Courbe pliante avec bordure et barre d’accentuation |
| accentBorderCallout3 = "AccentBorderCallout3" | Légende : Double ligne pliante avec bordure et barre d’accentuation |
| accentCallout1 = "AccentCallout1" | Légende : Trait avec barre d’accentuation |
| accentCallout2 = "AccentCallout2" | Légende : Courbe pliante avec barre d’accentuation |
| accentCallout3 = "AccentCallout3" | Légende : Double ligne pliante avec barre d’accentuation |
| actionButtonBackPrevious = "ActionButtonBackPrevious" | Bouton Action : Revenir en arrière ou précédent |
| actionButtonBeginning = "ActionButtonBeginning" | Bouton Action : Accéder au début |
| actionButtonBlank = "ActionButtonBlank" | Bouton Action : Vide |
| actionButtonDocument = "ActionButtonDocument" | Bouton Action : Document |
| actionButtonEnd = "ActionButtonEnd" | Bouton Action : Atteindre la fin |
| actionButtonForwardNext = "ActionButtonForwardNext" | Bouton Action : Avancer ou Suivant |
| actionButtonHelp = "ActionButtonHelp" | Bouton Action : Aide |
| actionButtonHome = "ActionButtonHome" | Bouton d’action : Accéder à la page d’accueil |
| actionButtonInformation = "ActionButtonInformation" | Bouton Action : Obtenir des informations |
| actionButtonMovie = "ActionButtonMovie" | Bouton Action : Vidéo |
| actionButtonReturn = "ActionButtonReturn" | Bouton Action : Retour |
| actionButtonSound = "ActionButtonSound" | Bouton Action : Son |
| arc = "Arc" | Arc |
| bentArrow = "BentArrow" | Flèche : Plié |
| bentUpArrow = "BentUpArrow" | Flèche : Bent-Up |
| bevel = "Bevel" | Rectangle : biseauté |
| blockArc = "BlockArc" | Bloquer l’arc |
| borderCallout1 = "BorderCallout1" | Légende : Ligne |
| borderCallout2 = "BorderCallout2" | Légende : Ligne pliante |
| borderCallout3 = "BorderCallout3" | Légende : Double courbe plié |
| bracePair = "BracePair" | Accolade double |
| bracketPair = "BracketPair" | Crochet double |
| callout1 = "Callout1" | Légende : Ligne sans bordure |
| callout2 = "Callout2" | Légende : Courbe pliante sans bordure |
| callout3 = "Callout3" | Légende : Double courbe plié sans bordure |
| can = "Can" | Cylindre |
| chartPlus = "ChartPlus" | Rectangle divisé verticalement et horizontalement en quatre quartiers. |
| chartStar = "ChartStar" | Rectangle divisé en six parties le long d’une ligne verticale et de lignes diagonales. |
| chartX = "ChartX" | Rectangle divisé en quatre parties le long de lignes diagonales. |
| chevron = "Chevron" | Flèche : Chevron |
| chord = "Chord" | Accord |
| circularArrow = "CircularArrow" | Flèche : circulaire |
| cloud = "Cloud" | Cloud |
| cloudCallout = "CloudCallout" | Bulle de pensée : cloud |
| corner = "Corner" | Forme L |
| cornerTabs = "CornerTabs" | Quatre triangles droit qui définissent une forme rectangulaire |
| cube = "Cube" | Cube |
| curvedDownArrow = "CurvedDownArrow" | Flèche : courbe vers le bas |
| curvedLeftArrow = "CurvedLeftArrow" | Flèche : courbée à gauche |
| curvedRightArrow = "CurvedRightArrow" | Flèche : courbée à droite |
| curvedUpArrow = "CurvedUpArrow" | Flèche : courbe vers le haut |
| decagon = "Decagon" | Décagone |
| diagonalStripe = "DiagonalStripe" | Bande diagonale |
| diamond = "Diamond" | Diamant |
| dodecagon = "Dodecagon" | Dodécagone |
| donut = "Donut" | Cercle : Creux |
| doubleWave = "DoubleWave" | Double onde |
| downArrow = "DownArrow" | Flèche : vers le bas |
| downArrowCallout = "DownArrowCallout" | Légende : Flèche bas |
| ellipse = "Ellipse" | Ellipse |
| ellipseRibbon = "EllipseRibbon" | Ruban : courbé et incliné vers le bas |
| ellipseRibbon2 = "EllipseRibbon2" | Ruban : courbé et incliné vers le haut |
| flowChartAlternateProcess = "FlowChartAlternateProcess" | Organigramme : autre processus |
| flowChartCollate = "FlowChartCollate" | Organigramme : coller |
| flowChartConnector = "FlowChartConnector" | Organigramme : Connecteur |
| flowChartDecision = "FlowChartDecision" | Organigramme : Décision |
| flowChartDelay = "FlowChartDelay" | Organigramme : Délai |
| flowChartDisplay = "FlowChartDisplay" | Organigramme : Affichage |
| flowChartDocument = "FlowChartDocument" | Organigramme : Document |
| flowChartExtract = "FlowChartExtract" | Organigramme : Extraire |
| flowChartInputOutput = "FlowChartInputOutput" | Organigramme : Données |
| flowChartInternalStorage = "FlowChartInternalStorage" | Organigramme : Stockage interne |
| flowChartMagneticDisk = "FlowChartMagneticDisk" | Organigramme : Disque magnétique |
| flowChartMagneticDrum = "FlowChartMagneticDrum" | Organigramme : Stockage avec accès direct |
| flowChartMagneticTape = "FlowChartMagneticTape" | Organigramme : Stockage d’accès séquentiel |
| flowChartManualInput = "FlowChartManualInput" | Organigramme : entrée manuelle |
| flowChartManualOperation = "FlowChartManualOperation" | Organigramme : Opération manuelle |
| flowChartMerge = "FlowChartMerge" | Organigramme : Fusionner |
| flowChartMultidocument = "FlowChartMultidocument" | Organigramme : Multidocument |
| flowChartOfflineStorage = "FlowChartOfflineStorage" | Organigramme : Stockage hors connexion |
| flowChartOffpageConnector = "FlowChartOffpageConnector" | Organigramme : Connecteur hors page |
| flowChartOnlineStorage = "FlowChartOnlineStorage" | Organigramme : données stockées |
| flowChartOr = "FlowChartOr" | Organigramme : ou |
| flowChartPredefinedProcess = "FlowChartPredefinedProcess" | Organigramme : Processus prédéfini |
| flowChartPreparation = "FlowChartPreparation" | Organigramme : Préparation |
| flowChartProcess = "FlowChartProcess" | Organigramme : Processus |
| flowChartPunchedCard = "FlowChartPunchedCard" | Organigramme : Carte |
| flowChartPunchedTape = "FlowChartPunchedTape" | Organigramme : Bande perforée |
| flowChartSort = "FlowChartSort" | Organigramme : Trier |
| flowChartSummingJunction = "FlowChartSummingJunction" | Organigramme : Jonction de somme |
| flowChartTerminator = "FlowChartTerminator" | Organigramme : Terminatetor |
| foldedCorner = "FoldedCorner" | Rectangle : coin plié |
| frame = "Frame" | Cadre |
| funnel = "Funnel" | Entonnoir |
| gear6 = "Gear6" | Équipement : Un engrenage avec six dents |
| gear9 = "Gear9" | Équipement : A Gear with Nine Teeth |
| halfFrame = "HalfFrame" | Demi-cadre |
| heart = "Heart" | Cœur |
| heptagon = "Heptagon" | Heptagone |
| hexagon = "Hexagon" | Hexagon |
| homePlate = "HomePlate" | Flèche : Pentagone |
| horizontalScroll = "HorizontalScroll" | Défilement : Horizontal |
| irregularSeal1 = "IrregularSeal1" | Explosion : 8 points |
| irregularSeal2 = "IrregularSeal2" | Explosion : 14 points |
| leftArrow = "LeftArrow" | Flèche : gauche |
| leftArrowCallout = "LeftArrowCallout" | Légende : Flèche gauche |
| leftBrace = "LeftBrace" | Accolade gauche |
| leftBracket = "LeftBracket" | Crochet gauche |
| leftCircularArrow = "LeftCircularArrow" | Flèche : circulaire avec direction de flèche opposée |
| leftRightArrow = "LeftRightArrow" | Flèche : Left-Right |
| leftRightArrowCallout = "LeftRightArrowCallout" | Légende : flèche Left-Right |
| leftRightCircularArrow = "LeftRightCircularArrow" | Flèche : circulaire avec deux flèches dans les deux directions |
| leftRightRibbon = "LeftRightRibbon" | Ruban : droit avec les flèches gauche et droite |
| leftRightUpArrow = "LeftRightUpArrow" | Flèche : gauche-droite vers le haut |
| leftUpArrow = "LeftUpArrow" | Flèche : Left-Up |
| lightningBolt = "LightningBolt" | Éclair |
| lineInverse = "LineInverse" | Ligne droite de Top-Right coin à Bottom-Left coin de la forme |
| mathDivide = "MathDivide" | Signe de division |
| mathEqual = "MathEqual" | Égal à |
| mathMinus = "MathMinus" | Signe moins |
| mathMultiply = "MathMultiply" | Signe de multiplication |
| mathNotEqual = "MathNotEqual" | N’est pas égal à |
| mathPlus = "MathPlus" | Signe plus |
| moon = "Moon" | Lune |
| nonIsoscelesTrapezoid = "NonIsoscelesTrapezoid" | Trapézoïde qui peut avoir des côtés non égaux |
| noSmoking = "NoSmoking" | Symbole « Non autorisé » |
| notchedRightArrow = "NotchedRightArrow" | Flèche : enchâssé vers la droite |
| octagon = "Octagon" | Octogone |
| parallelogram = "Parallelogram" | Parallélogramme |
| pentagon = "Pentagon" | Pentagone |
| pie = "Pie" | Cercle partiel avec zone de répartition réglable |
| pieWedge = "PieWedge" | Cercle partiel |
| plaque = "Plaque" | Plaque |
| plaqueTabs = "PlaqueTabs" | Quatre cercles quarts qui définissent une forme rectangulaire. |
| plus = "Plus" | Cross |
| quadArrow = "QuadArrow" | Flèche : Quad |
| quadArrowCallout = "QuadArrowCallout" | Légende : Quatre flèches |
| rectangle = "Rectangle" | Rectangle |
| ribbon = "Ribbon" | Ruban : incliné vers le bas |
| ribbon2 = "Ribbon2" | Ruban : Incliné vers le haut |
| rightArrow = "RightArrow" | Flèche : droite |
| rightArrowCallout = "RightArrowCallout" | Légende : Flèche droite |
| rightBrace = "RightBrace" | Accolade droite |
| rightBracket = "RightBracket" | Crochet droit |
| rightTriangle = "RightTriangle" | Triangle droit |
| round1Rectangle = "Round1Rectangle" | Rectangle : angle unique arrondi |
| round2DiagonalRectangle = "Round2DiagonalRectangle" | Rectangle : Angles diagonales arrondis |
| round2SameRectangle = "Round2SameRectangle" | Rectangle : Coins supérieurs arrondis |
| roundRectangle = "RoundRectangle" | Rectangle : angles arrondis |
| smileyFace = "SmileyFace" | Visage émoticône |
| snip1Rectangle = "Snip1Rectangle" | Rectangle : coin unique renipé |
| snip2DiagonalRectangle = "Snip2DiagonalRectangle" | Rectangle : Angles diagonales renifleurs |
| snip2SameRectangle = "Snip2SameRectangle" | Rectangle : coins supérieurs renifleurs |
| snipRoundRectangle = "SnipRoundRectangle" | Rectangle : coins supérieurs un arrondi et un renifleur |
| squareTabs = "SquareTabs" | Quatre petits carrés qui définissent une forme rectangulaire. |
| star10 = "Star10" | Étoile : 10 points |
| star12 = "Star12" | Étoile : 12 points |
| star16 = "Star16" | Étoile : 16 points |
| star24 = "Star24" | Étoile : 24 points |
| star32 = "Star32" | Étoile : 32 points |
| star4 = "Star4" | Étoile : 4 points |
| star5 = "Star5" | Étoile : 5 points |
| star6 = "Star6" | Étoile : 6 points |
| star7 = "Star7" | Étoile : 7 points |
| star8 = "Star8" | Étoile : 8 points |
| stripedRightArrow = "StripedRightArrow" | Flèche : rayée vers la droite |
| sun = "Sun" | Soleil |
| swooshArrow = "SwooshArrow" | Flèche : flèche droite courbée avec largeur variable |
| teardrop = "Teardrop" | Larme |
| trapezoid = "Trapezoid" | Trapézoïde |
| triangle = "Triangle" | Triangle isocèle |
| upArrow = "UpArrow" | Flèche : haut |
| upArrowCallout = "UpArrowCallout" | Légende : Flèche haut |
| upDownArrow = "UpDownArrow" | Flèche : Up-Down |
| upDownArrowCallout = "UpDownArrowCallout" | Légende : flèche Up-Down |
| uturnArrow = "UturnArrow" | Flèche : demi-tour |
| verticalScroll = "VerticalScroll" | Défilement : Vertical |
| wave = "Wave" | Vague |
| wedgeEllipseCallout = "WedgeEllipseCallout" | Bulle vocale : Ovale |
| wedgeRectCallout = "WedgeRectCallout" | Bulle vocale : Rectangle |
| wedgeRRectCallout = "WedgeRRectCallout" | Bulle vocale : rectangle avec angles arrondis |