PowerPoint.SlideBackgroundFillType enum
Gibt den Fülltyp für ein PowerPoint.SlideBackground an.
Hinweise
[ API-Satz: PowerPointApi 1.10 ]
Beispiele
// Link to full sample: https://raw.githubusercontent.com/OfficeDev/office-js-snippets/prod/samples/powerpoint/slide-management/get-set-background-fill.yaml
// Gets the background fill type of the first selected slide.
await PowerPoint.run(async (context) => {
const slide: PowerPoint.Slide = context.presentation.getSelectedSlides().getItemAt(0);
const fill: PowerPoint.SlideBackgroundFill = slide.background.fill;
fill.load("type");
await context.sync();
const fillType = fill.type as PowerPoint.SlideBackgroundFillType;
console.log(`Background fill type: ${fillType}`);
});
Felder
| gradient = "Gradient" | Gibt an, dass der Folienhintergrund eine Farbverlaufsfüllung aufweisen soll. |
| pattern = "Pattern" | Gibt an, dass der Folienhintergrund musterfüllen soll. |
| pictureOrTexture = "PictureOrTexture" | Gibt an, dass der Folienhintergrund eine Bild- oder Texturfüllung aufweisen soll. |
| solid = "Solid" | Gibt an, dass der Folienhintergrund eine reguläre Volltonfüllung aufweisen soll. |
| unsupported = "Unsupported" | Nicht unterstützte Folienhintergrundfüllung. |