ODF .NET Class Library
Show/Hide TOC

# BackgroundFill Class

Specifies a fill (color, gradient, hatch or bitmap) as a background.

## Definition

Namespace: Independentsoft.Office.Odf.Styles
Assembly: Independentsoft.Office.Odf (in Independentsoft.Office.Odf.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#

    public class BackgroundFill

VB

    Public Class BackgroundFill

Inheritance
  Object BackgroundFill

## Constructors

BackgroundFill | Initializes a new instance of the BackgroundFill class.

## Properties

FillColor | Specifies the fill color of a graphic object.
FillGradientStyle | Specifies the name of the gradient used to fill a graphic object.
FillHatchStyle | Specifies the name of the hatch used to fill a graphic object.
FillImage | Specifies the name of the image used to fill a graphic object.
FillStyle | Specifies the fill style for a graphic object.
SecondaryFillColor | Specifies the secondary fill color of a graphic object.

## Methods

Clone | Creates a new object that is a deep copy of the current instance.
Equals | (Inherited from Object)
Finalize | (Inherited from Object)
GetHashCode | (Inherited from Object)
GetType | (Inherited from Object)
MemberwiseClone | (Inherited from Object)
ToString | Converts the value of the current BackgroundFill object to its equivalent string representation. (Overrides ObjectToString)

## See Also

#### Reference

Independentsoft.Office.Odf.Styles Namespace