Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人知道一种在 ActiveReport 中获取文本以环绕图像的方法,类似于使用 CSS 将图像向右浮动?我希望文本打印在图像左侧的可用空间中,并且当有足够的文本时,也可以在图像下方打印报告的整个宽度。
如果您使用不同的报表项(用于显示文本的 RichTextBox 和用于显示图像的图片控件),则无法实现请求的行为。这是由于报表具有静态设计并且单个控件不能具有可变宽度的原因。
实现此目的的一种解决方法是使用 RTF 文件,该文件具有以所需方式对齐的文本和图像。并将此 RTF 加载到报表中的 RichTextBox 控件中。
问候,莫希塔