Static picture

2 posts, 0 answers
  1. Brian
    Brian avatar
    33 posts
    Member since:
    Mar 2016

    Posted 05 Jan 2017 Link to this post

    I am building reports that I would like to embed a picture in. This way I can deploy the file to clients with the picture in the file.

     

    Can this be done.? Currently the picture does not display as the picture file is on my computer and not my customers.

     

    THanks. 

  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 06 Jan 2017 Link to this post

    Hello Brian,

    In latest versions of Telerik Reporting, when you select an image from the file system, the image is serialized in the report's resources.

    For example, a TRDX file's content (R3 2016 SP1):
    <PictureBox Image="iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwgAADsIBFShKgAAAABh0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4zjOaXUAAAAjJJREFUOE+NkztomlEUxz/fSrQRH4mKFYkEFEXMaAdJyGBRSlvEsbp0THAUHEQE3Rwcirurg5KhfoPQSRGHBDPUwUCHEtEhoKCW4OPfe79HX5i2Pzhw77n/c+655zsfI6JSqVxnZ2efIpEIqBmNxjfELeFP/4FcLn9xeXk5HI1GEGm1WtBoNKwg+SsBcvs3g8GAWq2Gh4cHnJ6eQqfTQalUQtA8DRUFAgHk83kUCgVkMhmUSiXs7e0hlUrRBO955RNYLBbc3t4il8tBr9ej0+lgMBhwvu12C1LdV0G6G7vdjn6/j5ubG1xfX2M+nwtd4CH92ZXA4/f7ZwqF4oQ5ODhApVL5YePxGNlsFhcXF9hsNvQJuxJ8mc1mNDmYo6Mj4a6fTCYT0Kau12uaYC2VSu9lMtk9Wb8mdtXr9dbHx8f07DnjdDqFsN8xmUxcgkQiwe3v7u5wfn6OcrmMWCwGrVbLzwlp4rtisciJRJLJJPcJw+Ewt2+321yTm80mPB4PQqEQGo0GfQLLkGGxx+NxTiiyWCzgcrkwnU65/Wq1wuPjI7deLpdwOBy0ggmpYJ8YoycjfNXtdjnB/0CfTeKe0WCRfa/XW2FZVpDsJp1Og3w+mM3mlyRGxofy0FICPp+PpSOsVqs/k673qZEnwu12056MJRJJn+hOuIg/eBuNRjEcDhEMBml5Tt7NfKhWq6jX6yBDkxN8O1EfHh6WbDYb/Y1fkb1Y3or6rFbrR7LW8a5fYZjvEDadH6aj3fwAAAAASUVORK5CYII=" Width="1in" Height="1in" Left="0.899999936421712in" Top="3.20000012715658in" MimeType="image/png" Name="pictureBox1" />


    Regards,
    Stef
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top