Skip to main content
All docs
V25.2
  • GradientFill Members

    Gradient fill.

    Constructors

    Name Description
    GradientFill(GradientType, OfficeColor, OfficeColor) Initializes a new instance of the GradientFill class with specified settings.
    GradientFill(GradientType, IList<GradientStop>) Initializes a new instance of the GradientFill class with specified settings.

    Properties

    Name Description
    Angle Gets or sets the direction of the linear gradient in degrees.
    FillRect Gets or sets the rectangle area where the gradient is applied.
    FlipType Gets or sets how the gradient is flipped when tiled.
    GradientStops Returns the collection of color points in the gradient.
    GradientType Gets or sets the type of gradient applied to a shape.
    RotateWithShape Indicates whether the gradient fill rotates along with the shape.
    Scaled Determines whether the gradient scales with the object to which it is applied.
    TileRect Gets or sets the rectangular region to which a gradient is applied. This region is tiled to fill the object.
    Type Returns the fill type.

    Methods

    Name Description
    Clone() Clones the current GradientFill instance.
    Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
    Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
    GetHashCode() Serves as the default hash function. Inherited from Object.
    GetType() Gets the Type of the current instance. Inherited from Object.
    MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
    ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
    ToString() Returns a string that represents the current object. Inherited from Object.
    See Also