private void LineStyle_DrawingPointStyle(object sender, DrawingDirectionPointEventArgs e) { // Customize the direction point for the line feature whose "FENAME" column equals to "Mo-Pac". if (e.LineFeature.ColumnValues["FENAME"] == "Mo-Pac") { e.RotationAngle = 0; } }
private void LineStyle_DrawingPointStyle(object sender, DrawingDirectionPointEventArgs e) { if (e.LineFeature.ColumnValues["name"].Equals("test1")) { e.RotationAngle = 90; } if (e.LineFeature.ColumnValues["name"].Equals("test3")) { e.Cancel = true; } }