ami*_*min 4 c# sql-server crystal-reports visual-studio
我想在我的报告中显示图像,我将图像路径保存在我的 sqlserver 数据库中,现在我想从路径加载图像。我搜索整个互联网并尝试所有指导,我首先将图像插入到我的报告中,然后之后,我>Format Editor > picture > Graphic Location >像这样将图像路径插入到文本区域中{Command.path},但是当我运行时,它不显示任何图片。现在我该怎么办?
我使用 Visual Studio 2013 和最新版本的 Crystal Report 。
小智 5
使用条件公式动态更改report\xe2\x80\x99s 图像的位置。
\n将图像添加到报表中: -> Insert -> Picture\n此图像将充当占位符。\n确保占位符的大小与将动态加载的图像的大小相同,否则图像将被缩放。
更改图像\xe2\x80\x99s 图形位置:
\n -> right click image
\n -> select Format Graphic\xe2\x80\xa6
\n -> select Picture tab
\n -> click the conditional-formula button (looks like x+2)
\n -> set the formula\xe2\x80\x99s text to the name of the formula or parameter field that will contain the image\xe2\x80\x99s URL
\n -> save the formula and click the OK button
\n-> save the report
这对我有用。
\n\n\n资料来源:cogniza.com
\n
| 归档时间: |
|
| 查看次数: |
21853 次 |
| 最近记录: |