自定义代码错误 - SSRS 2016
问题描述:
我正面临问题使用客户功能t o
获取图像大小,但此代码在SSRS报告中不起作用。
然而,当我在SSRS报告中使用此功能获取图像高度然后获得"#ERROR代码[BC30002] "
请在我的功能下找到
:
函数GetImageHeightPoint(ByVal path As Object)As Integer
Function GetImageHeightPoint(ByVal path As Object) As Integer
先谢谢。:)
Thanks in Advance. :)
答
Ramakant Singh,
Hi Ramakant Singh,
从您的代码和错误名称,我们假设这可能是由于这种情况造成的,系统.drawing的引用不会添加到报告中。
From your code and the Error name, we assume that this may caused by that, the reference of system.drawing is not added to the report.
你可以尝试在报告属性中添加它。
You could try add it in report property.
希望它能解决你的问题。
Hope it resolves your issue.
问候,
Lukas