Legend Constructor(Double,Double,String,String,Point,Size,Boolean,Boolean,Boolean,String,Color,Color,Color,Color[],Boolean,Boolean)
In This Topic
Standard constructor.
Syntax
'Declaration
Public Function New( _
ByVal As Double, _
ByVal As Double, _
ByVal As String, _
ByVal As String, _
ByVal As Point, _
ByVal As Size, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As String, _
ByVal As Color, _
ByVal As Color, _
ByVal As Color, _
ByVal () As Color, _
ByVal As Boolean, _
ByVal As Boolean _
)
public Legend(
double ,
double ,
string ,
string ,
Point ,
Size ,
bool ,
bool ,
bool ,
string ,
Color ,
Color ,
Color ,
Color[] ,
bool ,
bool
)
Parameters
- min
- Minimum value
- max
- Maximum value
- title
- Title
- subtitle
- Subtitle
- position
- Top left corner position
- itemSize
- Size of each color rectangle
- slave
- If true, the legend minimum and maximum values are set automatically (FEM only)
- visible
- Visibility status
- alignRight
- If true, values are aligned right
- formatString
- Value's numeric format
- textBackgroundColor
- Text background color
- titleColor
- Title text color
- textColor
- Value text color
- colorTable
- Color table
- lighting
- When false, the UI element is drawn with a flat color.
- alignVerticalMiddle
- If true, values are vertically aligned to the middle of the colored rectangles
See Also