Partager via


FillFormat.Background Method

Specifies that the shape's fill should match the slide background. If you change the slide background after applying this method to a fill, the fill will also change.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub Background
'Usage
Dim instance As FillFormat

instance.Background()
void Background()

Remarks

Note that applying the Background method to a shape's fill isn't the same as setting a transparent fill for the shape, nor is it always the same as applying the same fill to the shape as you apply to the background. The second example demonstrates this.

See Also

Reference

FillFormat Interface

FillFormat Members

Microsoft.Office.Interop.PowerPoint Namespace