Convert farfoint.win.picture to bitmap

Posted by: stephc on 8 September 2017, 3:25 pm EST

  • Posted 8 September 2017, 3:25 pm EST

    Hi,

    We can convert an image to format farpoint.win.picture

    for example
    Dim Im As Bitmap = Image.FromFile (XX.FileName)
    Dim IM2 As New FarPoint.Win.Picture (Im)

    There is a way to do the opposite
    (Convert a FarPoint.Win.Picture to Bitmap)

    Thank you

    Stephane
  • Marked as Answer

    Replied 8 September 2017, 3:25 pm EST

    Hi Stephane,

    Yes, you can do that easily like this:

    Dim ImNew as Bitmap = new Bitmap(IM2.Image)


    Regards,
    -Sean
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels