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. Web Development
  3. ASP.NET
  4. Inserting Picture in powerpoint slide in PowerPoint Automation

Inserting Picture in powerpoint slide in PowerPoint Automation

Scheduled Pinned Locked Moved ASP.NET
asp-netdatabasetestingtoolstutorial
3 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.
  • A Offline
    A Offline
    Avanika Gupta
    wrote on last edited by
    #1

    Hi All, I am working on PowerPoint Automation. I have an image stored in the database which I have to insert in ppt slide. Can anybody give me some pointer to how to do this? I am using the following piece of code objSlide.Shapes.AddPicture(fn,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue,380,200,0,0); where fn is the name of the file. But i can not see the image in the slide. :(

    Thanks, Avanika

    A 1 Reply Last reply
    0
    • A Avanika Gupta

      Hi All, I am working on PowerPoint Automation. I have an image stored in the database which I have to insert in ppt slide. Can anybody give me some pointer to how to do this? I am using the following piece of code objSlide.Shapes.AddPicture(fn,Microsoft.Office.Core.MsoTriState.msoFalse,Microsoft.Office.Core.MsoTriState.msoTrue,380,200,0,0); where fn is the name of the file. But i can not see the image in the slide. :(

      Thanks, Avanika

      A Offline
      A Offline
      Amit Kumar Chikara
      wrote on last edited by
      #2

      You will have to get the picture from database and store it in the Image class. After that you can use that Image class for your slide.

      Regards, Amit Kumar HDISM, PGDCA, MCP, MCAD, MCSD amit_chikara2002@hotmail.com

      A 1 Reply Last reply
      0
      • A Amit Kumar Chikara

        You will have to get the picture from database and store it in the Image class. After that you can use that Image class for your slide.

        Regards, Amit Kumar HDISM, PGDCA, MCP, MCAD, MCSD amit_chikara2002@hotmail.com

        A Offline
        A Offline
        Avanika Gupta
        wrote on last edited by
        #3

        Hey Amit, Thanks for the reply. Can you please give me sample code for that?

        Thanks, Avanika

        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