The image must have some size, example:
PageImage = New Image(10, 10) As "PageImage"


Jussi

On Mon, Dec 8, 2014 at 11:34 PM, Paul Horechuk <horec...@csolve.net> wrote:

> Kubuntu 14.04 LTS x86_64
> Gambas 3.6.2
> ---------------------------------------------------
> Dim PageImage as Image
>
> ...
>
> Public Sub Preview()
> PageImage = New Image As "PageImage"
> Paint.Begin(PageImage)  ' Bad Format
>    PageImage.Load("picture.jpg", 0, 0, 100, 100)
> Paint.End
> End
>
> ---------------------------------------------------
>
> Could someone please explain?
>
> --
> Think Free ...
>     Use Open Source Software
>
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to