Click or drag to resize

FillFormatSetSlideBackground Method

Sets the fill of the Shape to that of the slide background surface. Applicable only on Shape's fill.

This method does not set the fill of the shape to be transparent but instead sets it to be filled with the portion of the slide background that is directly behind it.

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1038 (21.3.35.1038)
Syntax
public FillFormat SetSlideBackground()

Return Value

Type: FillFormat
An instance of a FillFormat type that represents slide background fill that was set.
Exceptions
ExceptionCondition
InvalidOperationExceptionSetting the fill to the slide's background is only supported on Shape's fill.
See Also