Edit

Share via


ColorStop Interface

Definition

Represents the color stop point for a gradient fill in an range or selection.

public interface class ColorStop
[System.Runtime.InteropServices.Guid("000244AD-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface ColorStop
Public Interface ColorStop
Attributes

Examples

The following example shows how to apply properties to the ColorStop.

Remarks

The ColorStop collection allows you to set properties for the cell fill including Color, ThemeColor, TintAndShade.

Properties

Application

When used without an object qualifier, this property returns an _Applicationobject that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Color

Returns or sets the color of the represented object. Read/write

Creator

Returns a constant in the XlCreator enumeration that indicates the application in which this object was created. Read-only.

Parent

Returns the parent object for the specified object. Read-only

Position

Returns or sets the position of the ColorStop. Read/write

ThemeColor

Returns or sets the theme color of the represented object. Read/write

TintAndShade

Returns or sets the tint and shade of the represented object. Read/write

Methods

Delete()

Deletes the represented object.

Applies to