使用产品:iobjects.net-9.0.1-15628-65435操作系统:win10 x64
问题详细描述:
问题重现步骤: 1.创建SlopeMap时出现错误——在调试过程中无法应用更改。源文件“C:\Users\10048\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cs”已被重新加载。必须重新启动调试会话。
2.已按照http://qa.supermap.com/34381中的解决办法进行尝试,无法解决错误。
private SlopeMap CreateSlope()
{
Rectangle2D rect = Rectangle2D.Empty;
SlopeMap slope = new SlopeMap(m_sceneControl.Scene);
slope.Opacity = m_opacity;
slope.BorderVisible = m_bShowBorer;
slope.DisplayStyle = m_fillMode;
// 设置坡度坡向调色板
// Set slope and aspect palette
ColorDictionary colorDict = new ColorDictionary();
colorDict[0] = Color.Blue;
colorDict[10] = Color.Green;
colorDict[30] = Color.Red;
slope.ColorDictTable = colorDict;
slope.MaxVisibleSlope = m_maxVisibleSlope;
slope.MinVisibleSlope = m_minVisibleSlope;
slope.Build();
return slope;
}