如何在 Devexpress 报告中获取像标签一样的 XRControl 的位置?

问题描述 投票:0回答:1

如何在 Devexpress Reporting 中获取像标签一样的 XRControl 的位置,以便我可以检测到两个标签不在同一页面上

我尝试使用 BeforePrint 事件,但没有设置位置。

c# devexpress reporting xtrareport
1个回答
0
投票

您好,请尝试AfterPrint

   XRLabel label= new XRLabel();
   label.AfterPrint += (s, e) =>
   {
       var currentLocation = ((XRLabel)s).LocationF;
   };
© www.soinside.com 2019 - 2024. All rights reserved.