Table of contents
TOC
Collapse the table of content
Expand the table of content

GradientStops.Insert2 Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Adds a stop to a gradient and specifies the brightness, as well as the transparency, of the color.

Syntax

expression. Insert2( RGB, Position, Transparency, Index, Brightness )

expression An expression that returns a GradientStops object.

Parameters

NameRequired/OptionalData TypeDescription
RGBRequiredMsoRGBTypeSpecifies the color at the gradient stop.
PositionRequiredSingleSpecifies the position of the stop within the gradient expressed as a percent.
TransparencyOptionalSingleSpecifies the opacity of the color at the gradient stop.
IndexOptionalIntegerThe index number of the gradient stop.
BrightnessOptionalSingleSpecifies the brightness of the color at the gradient stop.

Return Value

Nothing

Remarks

Gradients are a smooth transition from one color state to another. The endpoints of these sections are called stops.

This method differs from the Insert method in that it allows you to specify the brightness, as well as the transparency, of the color at the gradient stop.

See also

Concepts

GradientStops Object

Other resources

GradientStops Object Members

© 2018 Microsoft