[Gambas-user] DrawingArea to Picture or Image

Jussi Lahtinen jussi.lahtinen at ...626...
Wed Aug 27 16:55:45 CEST 2014


I think just change this:

    'Draw.Begin(DrawingArea1)
    Draw.Clear
    modCrBcode.PrintBarcode(txtBarcode.Text, Val(txtPosX.text),
Val(txtPosY.text), Val(txtHeight.text), Val(txtWidth.text), True)
    'Draw.End()

To:

    Draw.Begin(PictureBox1)
    Draw.Clear
    modCrBcode.PrintBarcode(txtBarcode.Text, Val(txtPosX.text),
Val(txtPosY.text), Val(txtHeight.text), Val(txtWidth.text), True)
    Draw.End()


Jussi




On Wed, Aug 27, 2014 at 5:07 PM, abbat81 <abbat.81 at ...787...> wrote:

> Thank you Tobi,
>
> But I could not understand it.
>
> Can you tell what to add to BarCode Example to reprint drawingarea
> image/picture to PictureBox1?
>
> Thaks in advance.
>
>
>
>
>
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/DrawingArea-to-Picture-or-Image-tp47850p47854.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list