LegendTableStyle     Procedure (Sub)

Public Sub LegendTableStyle(Optional Font$ = "", Optional FontColor As Long = -1, Optional LeftPercent As Single = -1, Optional TopPercent As Single = -1, Optional EdgeColor As Long = -1, Optional EdgeThickness As Integer = -1, 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 Show As Boolean = True)

Specify the legend table style

ParameterTypeDescription

Font$

String

Font

FontColor

Long

Color of the legend table text

LeftPercent

Single

Legend table position as % of graph width

TopPercent

Single

Legend table position as % of graph height

EdgeColor

Long

Color of the legend table border

EdgeThickness

Integer

Thickness of the legend table border

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)

Show

Boolean

False to hide the legend table

Example

Call ecGraph1.LegendTableStyle(font, fontcolor, leftpercent, toppercent, edgecolor, edgethickness, color1, color2, gradientangle, gshift, gstyle, transparent, show) 


      Contents     Variables     Events     Properties     Functions     Subs

Copyright © 2007, Encore Consulting Pty Ltd