saving panel contents as JPEG image

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Laxmikant Rashinkar

    saving panel contents as JPEG image

    Hi,

    I am drawing some graphical data (such as waveforms and graphs) on a panel.
    I would like to save this graphical data as a jpeg image. How does one do
    this
    in C#?

    thank you for your help.
    LK


  • Picho

    #2
    Re: saving panel contents as JPEG image

    Hi,

    If I understand correctly, you are using GDI+ drawing on the graphics object
    created from the panel?

    if this is the case, just create a new bitmap object, do all the drawings on
    that graphics object and then save it to a file.

    Picho.

    "Laxmikant Rashinkar" <LK-at-televital-dot-com> wrote in message
    news:%23Lw3bakA FHA.3504@TK2MSF TNGP12.phx.gbl. ..[color=blue]
    > Hi,
    >
    > I am drawing some graphical data (such as waveforms and graphs) on a
    > panel.
    > I would like to save this graphical data as a jpeg image. How does one do
    > this
    > in C#?
    >
    > thank you for your help.
    > LK
    >
    >[/color]


    Comment

    Working...