Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Color Fills can simply be a single Color. This allows for backward compatability with older versions of the SRP OLE Controls:

...

Code Block
Gradient(Color, Color)

Color is any acceptable Color value. The gradient will fade vertically from the first Color to the second Color--top to bottom:

...

Let's use the Size parameter to do something more interesting. With clever use of gradients and Color modifiers, we can create a shiney looking fill using just the Red color:

...

The first Border function takes a single Color value. This function will use the color to create a solid border around all edges of the fill:

...

The second Border function takes two Color values. The first color is used for the left and top of the border while the second one is used for the right and bottom of the border. This function is useful for creating thin 3D looking borders.

...

The last Border function takes four Color values. This function provides the best in flexibility allowing you to set the color of each side of the border individually.

...

Negative numbers are ignored.

See Also

Color