Bewerken

Delen via


RectangularGradient Interface

Definition

The RectangularGradient object transitions through a series of colors in a linear manner along a specific angle.

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

Remarks

Note: Some things to consider when working with RectangularGradient objects

  • Attempting to access a Gradient property of an Interior object that does not have an existing gradient fill will result in a Run Time Error. Be aware of the Pattern property before accessing the Gradient property.
  • If Pattern is changed from a gradient type to a non-gradient type, the Gradient object will populate with default values.

Properties

Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Office Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object. Read-only.

ColorStops

Returns the ColorStops for the RectangularGradient object. Read-only

Creator

Returns a 32-bit Integer that indicates the application in which this object was created. Read-only

Parent

Returns the parent for the specified object. Read-only

RectangleBottom

Represents the point or vector that the gradient fill converges to. Read/write

RectangleLeft

Represents the point or vector that the gradient fill converges to. Read/write

RectangleRight

Represents the point or vector that the gradient fill converges to. Read/write

RectangleTop

Represents the point or vector that the gradient fill converges to. Read/write

Applies to