officefileapi-devexpress-dot-docs-dot-presentation-be3b3d54.md
A solid fill applied to a shape or slide background.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public class SolidFill :
OutlineFill
Public Class SolidFill
Inherits OutlineFill
The following members return SolidFill objects:
The following code snippet applies a solid fill to a slide background:
using DevExpress.Docs.Presentation;
using DevExpress.Drawing;
using System.Drawing;
Slide slide = new Slide(new SlideLayout(layoutType: SlideLayoutType.Blank, name: "slide"));
SolidFill fill = new SolidFill(Color.LightCyan);
slide.Background = new CustomSlideBackground(fill);
Imports DevExpress.Docs.Presentation
Imports DevExpress.Drawing
Imports System.Drawing
Dim slide As Slide = New Slide(New SlideLayout(layoutType:=SlideLayoutType.Blank, name:="slide"))
Dim fill As SolidFill = New SolidFill(Color.LightCyan)
slide.Background = New CustomSlideBackground(fill)
For more information on how to customize the slide or shape fill, refer to the following help topics:
Object PresentationObject Fill OutlineFill SolidFill
See Also