Description
2D Graphics settings for elevation contours.
Public Properties
Example
Configure elevation contours
[C#] | Copy Code |
---|
gfxContours.IsVisible = true;
gfxContours.IsFillVisible = true;
gfxContours.FillStyle = <a href="STKUtil~Enumerations~AgEFillStyle_EN.html">AgEFillStyle</a>.eFillStyleHorizontalStripe;
gfxContours.NumOfDecimalDigits = 5;
IAgVeGfxElevationsElement elevation = gfxContours.Elevations.AddLevel(25.0);
elevation.Color = Color.Red;
elevation.DistanceVisible = true;
elevation.LineStyle = <a href="STKUtil~Enumerations~AgELineStyle_EN.html">AgELineStyle</a>.eDotted;
elevation.LineWidth = AgELineWidth.e3;
elevation.UserTextVisible = true;
elevation.UserText = "My new elevation";
voContours.IsVisible = true;
voContours.Fill = true;
voContours.FillTranslucency = 80.0;
|
|
Configure elevation contours
[Visual Basic .NET] | Copy Code |
---|
gfxContours.IsVisible = True gfxContours.IsFillVisible = True gfxContours.FillStyle = AgEFillStyle.eFillStyleHorizontalStripe gfxContours.NumOfDecimalDigits = 5
Dim elevation As IAgVeGfxElevationsElement = gfxContours.Elevations.AddLevel(25)
elevation.Color = Color.Red elevation.DistanceVisible = True elevation.LineStyle = AgELineStyle.eDotted elevation.LineWidth = AgELineWidth.e3 elevation.UserTextVisible = True elevation.UserText = "My new elevation"
voContours.IsVisible = True voContours.Fill = True voContours.FillTranslucency = 80
|
|