[]
        
(Showing Draft Content)

FarPoint.Web.Spread.Background

Background Class

Represents a background (image and gradient).

Inheritance
Background
Namespace: FarPoint.Web.Spread
Assembly: FarPoint.Web.Spread.dll
Syntax
[TypeConverter(typeof(ExpandableObjectConverter))]
public class Background : ISerializeSupport, ISerializable
<TypeConverter(GetType(ExpandableObjectConverter))>
Public Class Background
    Implements ISerializeSupport, ISerializable

Constructors

Name Description
Background()

Creates a new background with default values.

Background(Background)

Creates a new background with the specified background information.

Background(bool)

Creates a new background and whether enabled.

Background(SerializationInfo, StreamingContext)

Creates a new background from serialization.

Background(string)

Creates a new background with the specified image.

Background(string, string)

Creates a new background with the specified images.

Background(string, string, string, string, string)

Creates a new background with the specified images and image options.

Properties

Name Description
BackgroundAttachment

Gets or sets how the background image is attached to the object in the document.

BackgroundImageUrl

Gets or sets the location of a background image.

BackgroundPosition

Gets or sets the position of the background of the object.

BackgroundRepeat

Gets or sets how the background image of the object is tiled.

Enable

Gets or sets whether the Background image is enabled.

IsEmpty

Gets whether this instance is empty.

SelectedBackgroundImageUrl

Gets or sets the location of a background image when a cell is selected.

Methods

Name Description
Deserialize(XmlNodeReader)

Loads the object from XML.

GetAttributesString(Background, FpSpread)

Gets the attributes string for the specified background and FarPoint Spread.

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

IsEquals(Background)

Determines whether the background is equal to the specified information.

Serialize(XmlTextWriter)

Saves the object to XML.