vsto c# 修改图表chart 的排列方式 和宽度

   public void ResizeChartPoint(Series Orig)
        {
            Microsoft.Office.Interop.Excel.Points points1 = Orig.Points();
            for (int j = 1; j <= points1.Count; j++)
            {
                points1.Item(j).PictureType = Microsoft.Office.Interop.Excel.XlChartPictureType.xlStretch;
                //points1.Item(j).PictureUnit2 = 2;
                //points1.Item(j).MarkerSize = 50;
            }
        }

 

posted on 2019-12-26 11:22  GIS-MAN  阅读(582)  评论(0编辑  收藏  举报

导航