Legend(Double, Double, String, String, Point, Size, Boolean, Boolean, Boolean, String, Color, Color, Color, Font, Font, Color(), Boolean) Constructor
NOTE: This member is now obsolete. This constructor is deprecated.
Public Sub New( _
ByVal min As Double, _
ByVal max As Double, _
ByVal title As String, _
ByVal subtitle As String, _
ByVal position As Point, _
ByVal itemSize As Size, _
ByVal slave As Boolean, _
ByVal visible As Boolean, _
ByVal alignRight As Boolean, _
ByVal formatString As String, _
ByVal textBackgroundColor As Color, _
ByVal titleColor As Color, _
ByVal textColor As Color, _
ByVal titleFont As Font, _
ByVal textFont As Font, _
ByVal colorTable As Color(), _
ByVal lighting As Boolean _
)
This language is not supported or no code example is available.
public Legend(
double min,
double max,
string title,
string subtitle,
Point position,
Size itemSize,
bool slave,
bool visible,
bool alignRight,
string formatString,
Color textBackgroundColor,
Color titleColor,
Color textColor,
Font titleFont,
Font textFont,
Color[] colorTable,
bool lighting
)
This language is not supported or no code example is available.
Parameters
- min
- double
Minimum value
- max
- double
Maximum value
- title
- string
Title
- subtitle
- string
Subtitle
- position
- Point
Top left corner position
- itemSize
- Size
Size of each color rectangle
- slave
- bool
If true, the legend minimum and maximum values are set automatically (FEM only)
- visible
- bool
Visibility status
- alignRight
- bool
If true, values are aligned right
- formatString
- string
Value's numeric format
- textBackgroundColor
- Color
Text background color
- titleColor
- Color
Title text color
- textColor
- Color
Value text color
- titleFont
- Font
Title font
- textFont
- Font
Value font
- colorTable
- Color[]
Color table
- lighting
- bool
When false, the UI element is drawn with a flat color.