BorderStyle     Procedure (Sub)

Public Sub BorderStyle(Optional Color1 As Long = -1, Optional Color2 As Long = -1, Optional GradientAngle As Integer = -1, Optional gShift As Single = -1, Optional gStyle As Integer = 1, Optional Transparent As Boolean = False, Optional Left As Single = -1, Optional Top As Single = -1, Optional Right As Single = -1, Optional Bottom As Single = -1)

Specify the style of the graph border.

ParameterTypeDescription

Color1

Long

Color 1 of the gradient

Color2

Long

Color 2 of the gradient

GradientAngle

Integer

Gradient angle, in degrees off horizontal

gShift

Single

Shift (bias) the color gradient towards or away from Color1. 0=normal, <0 to -1 shifts the gradient towards Color1, >0 to 1 shifts towards Color2.

gStyle

Integer

Gradient style. 0=plain, 1=gradient, 2=rectangle, 3=star, 4=corner, 5=spotlight

Transparent

Boolean

True to make the page transparent (ie. don't show the color gradient)

Left

Single

Left border, as % of page width. Use -1 to leave current value unchanged."

Top

Single

Top border, as % of page height. Use -1 to leave current value unchanged."

Right

Single

Right border, as % of page width. Use -1 to leave current value unchanged."

Bottom

Single

Bottom border, as % of page height. Use -1 to leave current value unchanged."

Example

Call ecGraph1.BorderStyle(color1, color2, gradientangle, gshift, gstyle, transparent, left, top, right, bottom) 


      Contents     Variables     Events     Properties     Functions     Subs

Copyright © 2007, Encore Consulting Pty Ltd