# 在 PHP 中格式化 PowerPoint 形状 > 了解如何使用 Aspose.Slides 在 PHP 中格式化 PowerPoint 形状——精准且全面地为 PPT 和 PPTX 文件设置填充、线条和效果样式。 Source: https://docs.aspose.com/slides/zh/php-java/shape-formatting/ Updated: 2026-11-......()->setFillType(FillType::Gradient); $shape->getFillFormat()...PresetColor::Red); $presentation->save("gradient_fill.pptx", SaveFormat::Pptx);...