开发者

How can I add a static Image Logo to a generated PDF using the SQL Server Reporting Tools Designer?

Using the Report designer in Visual Studio, I dragged and dropped a an Image control over onto the header but I开发者_如何学运维'm lost as to what to do next. I need to choose the Source which gives me a choice between External, Embedded, Database and custom expression. I also have a Value property but it didn't prompt me to choose a file.

Any ideas?


On your Report Data view box (Where the report parameters, datasets etc) are shown, there is also a folder for Images.

Right click that and add the image you want.

Now when you use your image control you can choose Embedded and drop down any of the imagess included in the Images folder.

The External source is good for adding in a URL to the image and database is when the image is stored in one of your datasets.

Here is the solution if the report data view screen is missing


I found a way to do this:

If I open the report and give the focus to the report form (not one of the controls), I get a new menu item called Report at the top of Visual Studio. Open the Embedded Images... dialog and I can add a new image there. Then close that dialog and give focus to the image control that I want to have the static image. I can set its value property to one of the embedded images that I have added using the Embedded Images dialog.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜