PowerPoint.SlideBackgroundPatternFillType enum

Gibt den Musterfülltyp für PowerPoint.SlideBackgroundPatternFill an.

Hinweise

API-Satz: PowerPointApi 1.10

Verwendet von

Beispiele

// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/get-set-background-fill.yaml

// Sets the background of the first selected slide to a diagonal cross pattern fill.
await PowerPoint.run(async (context) => {
  const slide: PowerPoint.Slide = context.presentation.getSelectedSlides().getItemAt(0);
  slide.background.fill.setPatternFill({
    foregroundColor: "#1F3864",
    backgroundColor: "#D6E4F7",
    pattern: PowerPoint.SlideBackgroundPatternFillType.diagonalCross,
  } as PowerPoint.SlideBackgroundPatternFillOptions);
  await context.sync();

  console.log("Background set to diagonal cross pattern fill.");
});

Felder

cross = "Cross"

Kreuzmusterfüllung.

darkDownwardDiagonal = "DarkDownwardDiagonal"

Dunkle diagonale Musterfüllung nach unten.

darkHorizontal = "DarkHorizontal"

Dunkle horizontale Musterfüllung.

darkUpwardDiagonal = "DarkUpwardDiagonal"

Dunkle diagonale Musterfüllung nach oben.

darkVertical = "DarkVertical"

Dunkle vertikale Musterfüllung.

dashedDownwardDiagonal = "DashedDownwardDiagonal"

Gestrichelte diagonale Musterfüllung nach unten.

dashedHorizontal = "DashedHorizontal"

Gestrichelte horizontale Musterfüllung.

dashedUpwardDiagonal = "DashedUpwardDiagonal"

Gestrichelte diagonale Musterfüllung nach oben.

dashedVertical = "DashedVertical"

Gestrichelte vertikale Musterfüllung.

diagonalBrick = "DiagonalBrick"

Diagonale Ziegelmusterfüllung.

diagonalCross = "DiagonalCross"

Diagonale Kreuzmusterfüllung.

divot = "Divot"

Divot-Musterfüllung.

dottedDiamond = "DottedDiamond"

Gepunktete Rautenmusterfüllung.

dottedGrid = "DottedGrid"

Gepunktetes Gittermuster.

downwardDiagonal = "DownwardDiagonal"

Abwärts gerichtete diagonale Musterfüllung.

horizontal = "Horizontal"

Horizontale Musterfüllung.

horizontalBrick = "HorizontalBrick"

Horizontale Ziegelmusterfüllung.

largeCheckerBoard = "LargeCheckerBoard"

Große Schachbrettmusterfüllung.

largeConfetti = "LargeConfetti"

Große Konfettimuster-Füllung.

largeGrid = "LargeGrid"

Große Gittermusterfüllung.

lightDownwardDiagonal = "LightDownwardDiagonal"

Leichte diagonale Musterfüllung nach unten.

lightHorizontal = "LightHorizontal"

Helle horizontale Musterfüllung.

lightUpwardDiagonal = "LightUpwardDiagonal"

Leichte diagonale Musterfüllung nach oben.

lightVertical = "LightVertical"

Helle vertikale Musterfüllung.

narrowHorizontal = "NarrowHorizontal"

Schmale horizontale Musterfüllung.

narrowVertical = "NarrowVertical"

Schmale vertikale Musterfüllung.

outlinedDiamond = "OutlinedDiamond"

Umrissene Rautenmusterfüllung.

percent10 = "Percent10"

10 Prozent Musterfüllung.

percent20 = "Percent20"

20 Prozent Musterfüllung.

percent25 = "Percent25"

25 Prozent Musterfüllung.

percent30 = "Percent30"

30 Prozent Musterfüllung.

percent40 = "Percent40"

40 Prozent Musterfüllung.

percent5 = "Percent5"

5 Prozent Musterfüllung.

percent50 = "Percent50"

50 Prozent Musterfüllung.

percent60 = "Percent60"

60 Prozent Musterfüllung.

percent70 = "Percent70"

70 Prozent Musterfüllung.

percent75 = "Percent75"

75 Prozent Musterfüllung.

percent80 = "Percent80"

80 Prozent Musterfüllung.

percent90 = "Percent90"

90 Prozent Musterfüllung.

plaid = "Plaid"

Karierte Musterfüllung.

shingle = "Shingle"

Füllen des Schindelmusters.

smallCheckerBoard = "SmallCheckerBoard"

Kleine Schachbrettmusterfüllung.

smallConfetti = "SmallConfetti"

Kleine Konfettimuster-Füllung.

smallGrid = "SmallGrid"

Kleine Gittermusterfüllung.

solidDiamond = "SolidDiamond"

Gefüllte Rautenmusterfüllung.

sphere = "Sphere"

Füllen des Kugelmusters.

trellis = "Trellis"

Füllen des Spaliermusters.

unsupported = "Unsupported"

Nicht unterstützte Musterfüllung.

upwardDiagonal = "UpwardDiagonal"

Aufwärts gerichtete diagonale Musterfüllung.

vertical = "Vertical"

Vertikale Musterfüllung.

wave = "Wave"

Wellenmuster-Füllung.

weave = "Weave"

Füllung des Webmusters.

wideDownwardDiagonal = "WideDownwardDiagonal"

Breite diagonale Musterfüllung nach unten.

wideUpwardDiagonal = "WideUpwardDiagonal"

Breite diagonale Musterfüllung nach oben.

zigZag = "ZigZag"

Zick-Zack-Musterfüllung.