In .Net 4 I can set image from image variable type, like that:
Code: Select all
Dim wRp As New StiReport
wRp("wImg") = Image.FromFile(path+ "img.jpg")
Code: Select all
this.report.dictionary.variables.getByName('wImg').valueObject = Stimulsoft.System.IO.Http.getFile("img.jpg", true); //file exists in wwwroot
thanks