Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. how to insert background image on report?

how to insert background image on report?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpdotnethelptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    priya_p233
    wrote on last edited by
    #1

    good morning freinds, i m designing crystal report in.net framework i.e. bundeled version. i am preparing payslip, for that i wnt to place watermark image on page. whn i insert picture by right clicking on the report then it is inserting my backgruound image but lines present on my report go backward & also not shown whn i run the project. i rightclick on image & send it backward but it lines will not cum in front. & there is no option of line to bring it forward . please anyone tell me how should i place background image on my report. thanks for any help in advance.

    "The Difficult i can do it now... The Impossible will take a little longer."

    N 1 Reply Last reply
    0
    • P priya_p233

      good morning freinds, i m designing crystal report in.net framework i.e. bundeled version. i am preparing payslip, for that i wnt to place watermark image on page. whn i insert picture by right clicking on the report then it is inserting my backgruound image but lines present on my report go backward & also not shown whn i run the project. i rightclick on image & send it backward but it lines will not cum in front. & there is no option of line to bring it forward . please anyone tell me how should i place background image on my report. thanks for any help in advance.

      "The Difficult i can do it now... The Impossible will take a little longer."

      N Offline
      N Offline
      nare700
      wrote on last edited by
      #2

      hi priya i have got complete payroll source code if you want it send mail or IM in yahoo my yahoo id is nare700 my emails nare700@yahoo.com nare700@gmail.com I have read the previous posting in this forum. In it, it mentioned the use of dataset to achieve this. I create a dataset which one of the field in the data table is base64binary. After retrieval of the file path, open the file and store the image file as array of byte in that column. When you bind the dataset to your report as the data source, you can easily drag and drop the image field to your report. Conversion of image file to array of byte: Dim fs As New System.IO.FileStream(, IO.FileMode.Open) Dim br As New System.IO.BinaryReader(fs) Dim arrayByte() As Byte arrayByte = br.ReadBytes(CInt(fs.Length)) br.Close() fs.Close() Hope this help!

      naresh

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups