 | CMVUCSymbLegend Method |
Plot a legend for the classified color symbols.
Namespace:
GeoEngine.Core.GXNetX
Assembly:
geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntaxpublic static void CSymbLegend(
CGXNETCore gxNetShared,
CMVIEW mview,
double x1,
double y1,
double font_size,
double symb_scale,
string file,
string title,
string sub_title
)
public static void CSymbLegend(
CGXNETCore gxNetShared,
CMVIEW mview,
double x1,
double y1,
double font_size,
double symb_scale,
string file,
string title,
string sub_title
)
Public Shared Sub CSymbLegend (
gxNetShared As CGXNETCore,
mview As CMVIEW,
x1 As Double,
y1 As Double,
font_size As Double,
symb_scale As Double,
file As String,
title As String,
sub_title As String
)
Public Shared Sub CSymbLegend (
gxNetShared As CGXNETCore,
mview As CMVIEW,
x1 As Double,
y1 As Double,
font_size As Double,
symb_scale As Double,
file As String,
title As String,
sub_title As String
)
public:
static void CSymbLegend(
CGXNETCore^ gxNetShared,
CMVIEW^ mview,
double x1,
double y1,
double font_size,
double symb_scale,
String^ file,
String^ title,
String^ sub_title
)
public:
static void CSymbLegend(
CGXNETCore^ gxNetShared,
CMVIEW^ mview,
double x1,
double y1,
double font_size,
double symb_scale,
String^ file,
String^ title,
String^ sub_title
)
static member CSymbLegend :
gxNetShared : CGXNETCore *
mview : CMVIEW *
x1 : float *
y1 : float *
font_size : float *
symb_scale : float *
file : string *
title : string *
sub_title : string -> unit
static member CSymbLegend :
gxNetShared : CGXNETCore *
mview : CMVIEW *
x1 : float *
y1 : float *
font_size : float *
symb_scale : float *
file : string *
title : string *
sub_title : string -> unit
Parameters
- gxNetShared
- Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore - mview
- Type: GeoEngine.Core.GXNetXCMVIEW
MVIEW object - x1
- Type: SystemDouble
Plot origin X - y1
- Type: SystemDouble
Plot origin Y - font_size
- Type: SystemDouble
Label Font size (mm) - symb_scale
- Type: SystemDouble
Symbol scale factor - file
- Type: SystemString
AGG, ITR or ZON file name - title
- Type: SystemString
Plot title - sub_title
- Type: SystemString
Plot subtitle
Remarks
If the symbol size, color, font etc are specified in
the ITR's REG, then the Symbol scale factor is used
allow the user to adjust the symbol sizes. They will be
plotted at a size equal to the size in the REG times
the scale factor.
If no symbol size info can be found in the REG, then
the symbol size is set equal to the Label Font Size.
If no symbol font or number info is included in the
REG, it is the programmer's responsibility to select
the correct font and symbol before CSymbLegend is
called. The same is true of the edge color.
See Also