Click or drag to resize

BackgroundGradient Class

Represents a background gradient fill for a UI element.
Inheritance Hierarchy
System Object
Spire.Doc.Fields.Shapes Fill
Spire.Doc BackgroundGradient

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public class BackgroundGradient : Fill

The BackgroundGradient type exposes the following members.

Properties
Name Description
Public property Color
Gets or sets the color.
(Inherited from Fill .)
Public property Color1
Gets or sets first color for gradient.
Public property Color2
Gets or sets second color for gradient (used when TwoColors set to true).
Public property ImageBytes
Gets or sets the image bytes.
(Inherited from Fill .)
Public property On
Gets or sets a value indicating whether the Fill is currently on.
(Inherited from Fill .)
Public property Opacity
Gets or sets the opacity of the element.
(Inherited from Fill .)
Public property ShadingStyle
Gets or sets shading style for gradient.
Public property ShadingVariant
Gets or sets shading variants.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method Solid (Inherited from Fill .)
Public method Solid(Color) (Inherited from Fill .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also