Insert Method (IGradientStops)

Spread.Services Documentation
Insert Method (IGradientStops)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread.Drawing Namespace > IGradientStops Interface : Insert Method

Specifies the color at the gradient stop.
Specifies the position of the stop within the gradient expressed as a percent.
Specifies the opacity of color at the gradient stop.
The index number of the stop.
Specifies the brightness of the color at the gradient stop.
Adds a stop to a gradient and specifies the brightness, as well as the transparency of the color.
Syntax

- C#

    void Insert(
       System.int rgb,
       System.double position,
       System.double transparency,
       System.int index,
       System.double brightness
    )

#### Parameters

rgb
  Specifies the color at the gradient stop.
position
  Specifies the position of the stop within the gradient expressed as a percent.
transparency
  Specifies the opacity of color at the gradient stop.
index
  The index number of the stop.
brightness
  Specifies the brightness of the color at the gradient stop.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

IGradientStops Interface
IGradientStops Members

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback