我在我的 ASP.NET 应用程序中使用RadDiagram 。控件不提供更改形状字体大小的功能。有什么办法可以改变尺寸吗?
我动态地创建形状。例子:
label[i] = new DiagramShape();
label[i].Y = shape[5].Y + SHAPE_HEIGHT + LABEL_TOP_MARGIN;
label[i].X = shape[i].X - LABEL_LEFT_INDENT;
label[i].Height = 20;
label[i].Width = 20;
label[i].ContentSettings.Text = dateLabels[i] ;
label[i].Background = "#FFFFFF";
label[i].ContentSettings.Color = "#000000";
RadDiagram1.ShapesCollection.Add(label[i]);