Click or drag to resize

XlsShapeFill Class

Represents XlsFill format in shape object.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet XlsObject
Spire.Xls.Core.Spreadsheet.Shapes XlsShapeFill
Spire.Xls.Core.Spreadsheet.Charts XlsChartFill

Namespace: Spire.Xls.Core.Spreadsheet.Shapes
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class XlsShapeFill : XlsObject, 
	IShapeFill

The XlsShapeFill type exposes the following members.

Properties
Name Description
Public property BackColor
Represents background color.
Public property BackColorObject
Represents background color.
Public property BackKnownColor
Represents background color index.
Public property FillType
Represents shape XlsFill type.
Public property ForeColor
Represents foreground color.
Public property ForeColorObject
Represents foreground color.
Public property ForeKnownColor
Represents foreground color index.
Public property GradientColorType
Represents gradient style.
Public property GradientDegree
Returns the gradient degree of the specified one-color shaded XlsFill as a floating-point value from 0.0 (dark) through 1.0 (light)
Public property GradientStops
Returns collection of gradient stops that stores gradient XlsFill settings. Read-only.
Public property GradientStyle
Represents gradient shading style.
Public property GradientVariant
Represents current shading variant.
Public property IsGradientSupported
Gets or sets a value indicating whether gradient rendering is supported.
Public property Parent
Reference to Parent object. Read-only.
(Inherited from XlsObject .)
Public property Pattern
Represents gradient pattern
Public property PicStretch
Gets or sets pictrue format option.
Public property PicTile
Gets or sets tile picture option.
Public property Picture
Represents user defined picture or textture. Read only.
Public property PictureName
Returns user defined picture of texture name. Read only.
Public property PresetGradientType
Represents presed gradient type.
Protected property ReferenceCount
Get quantity of instance references.
(Inherited from XlsObject .)
Public property Texture
Represents gradient texture
Public property Tile
Represents whether picture is tiled or stretched.
Public property Transparency
Returns the transparency level of the specified Solid color shaded XlsFill as a floating-point value from 0.0 (opaque) through 1.0(transparent)
Public property TransparencyFrom
Returns or sets the degree of transparency of the specified XlsFill as a value from 0.0 (opaque) through 1.0 (clear).
Public property TransparencyTo
Returns or sets the degree of transparency of the specified XlsFill as a value from 0.0 (opaque) through 1.0 (clear).
Public property Visible
Represents if XlsFill style visible.
Top
Methods
Name Description
Protected method AddReference
Increase the quantity of reference. User must use this method when new wrapper on object is created or reference on object stored.
(Inherited from XlsObject .)
Protected method CheckDisposed
Checks whether object was disposed and throws exception if it was.
(Inherited from XlsObject .)
Public method Clone
Clones current object.
Public method CompareTo
Compares with shape XlsFill impl.
Public method CustomPicture(String)
Sets user defined picture.
Public method CustomPicture(Image, String)
Sets user defined picture.
Public method CustomTexture(String)
Sets user defined texture.
Public method CustomTexture(Image, String)
Sets user defined texture.
Public method Dispose
Dispose object and free resources.
(Inherited from XlsObject .)
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Destructor. Call dispose method of current object.
(Inherited from XlsObject .)
Protected method FindParent(Type)
This method is used to find parent with specific type.
(Inherited from XlsObject .)
Protected method FindParent( Type )
Find parent of object.
(Inherited from XlsObject .)
Protected method FindParent(Type, Boolean)
This method is used to find parent with specific type.
(Inherited from XlsObject .)
Protected method FindParents
Finds parent objects.
(Inherited from XlsObject .)
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 .)
Public method Static member IsDoubled
Detects whether color sequence should be doubled or not.
Public method Static member IsInverted
Returns true if colors should be placed in inverted order.
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method OnDispose
Method which can be overriden by users to take any specific actions when object is disposed.
(Inherited from XlsObject .)
Public method OneColorGradient
Sets the specified XlsFill to a one-color gradient.
Public method OneColorGradient(GradientStyleType)
Sets the specified XlsFill to a one-color gradient.
Public method OneColorGradient(GradientStyleType, GradientVariantsType)
Sets the specified XlsFill to a one-color gradient.
Public method Patterned
Sets the specified XlsFill to a pattern.
Public method PresetGradient(GradientPresetType)
Sets the specified XlsFill to a preset gradient.
Public method PresetGradient(GradientPresetType, GradientStyleType)
Sets the specified XlsFill to a preset gradient.
Public method PresetGradient(GradientPresetType, GradientStyleType, GradientVariantsType)
Sets the specified XlsFill to a preset gradient.
Public method PresetTextured
Sets the specified XlsFill format to a preset texture.
Protected method ReleaseReference
Decrease quantity of Reference. User must call this method when freeing resources.
(Inherited from XlsObject .)
Protected method SetParent
Sets parent of the object.
(Inherited from XlsObject .)
Public method Solid
Sets the specified XlsFill to a uniform color.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Public method TwoColorGradient
Sets the specified XlsFill to a two-color gradient.
Public method TwoColorGradient(GradientStyleType)
Sets the specified XlsFill to a two-color gradient.
Public method TwoColorGradient(GradientStyleType, GradientVariantsType)
Sets the specified XlsFill to a two-color gradient.
Top
Fields
Name Description
Protected field m_bIsDisposed
Flag which indicates if the object was disposed or not.
(Inherited from XlsObject .)
Protected field m_picture
Represents the image associated with the object.
Top
See Also