wu8829 发表于 2016-7-28 17:19:05

在页面报表中动态指定image控件的坐标

本帖最后由 Lenka.Guo 于 2016-7-28 17:57 编辑

工程师,您好:

请问,如何动态指定image控件的坐标,也就是动态指定他的location

Lenka.Guo 发表于 2016-7-28 17:57:05

您好,基本代码是通过修改Top和Left属性:
GrapeCity.ActiveReports.PageReport rpt = new GrapeCity.ActiveReports.PageReport(new System.IO.FileInfo(@"..\..\RdlReport1.rdlx"));
            rpt.Report.Body.ReportItems.Left = "3cm";
            rpt.Report.Body.ReportItems.Top = "5cm";

页: [1]
查看完整版本: 在页面报表中动态指定image控件的坐标