I'm using the ImageLibEx to draw but I need help with the following...
I want to be able to draw inside an area the size of Width: 320 Height: 50 and not anywhere else outside that area...
Also, I want to save the image but I want to save it in that size (320 x 50).
I experimented with ImageLibEx and I was able to draw (using DrawerEx) and save (using BitmapEx), but it saves it to the size of the form.
I did notice the manual said:
DrawerEx.New2 - Initializes the Drawer object. New2 is used to draw on an image or bitmap.The image can be any image including images stored in ImageList, Image, Control, Forms, Bitmaps or BitmapEx objects.
Does this mean I can create an empty image Control, size it to 320 x 50 and use DrawerEx.New2 to draw on it? If so, What is the correct syntax? I keep getting a "Value cannot be null" error if I have an image control named "Image1" and if I use:
Also, how do I save that image once it's working?
Thank you;
linum
I want to be able to draw inside an area the size of Width: 320 Height: 50 and not anywhere else outside that area...
Also, I want to save the image but I want to save it in that size (320 x 50).
I experimented with ImageLibEx and I was able to draw (using DrawerEx) and save (using BitmapEx), but it saves it to the size of the form.
I did notice the manual said:
DrawerEx.New2 - Initializes the Drawer object. New2 is used to draw on an image or bitmap.The image can be any image including images stored in ImageList, Image, Control, Forms, Bitmaps or BitmapEx objects.
Does this mean I can create an empty image Control, size it to 320 x 50 and use DrawerEx.New2 to draw on it? If so, What is the correct syntax? I keep getting a "Value cannot be null" error if I have an image control named "Image1" and if I use:
B4X:
DrawerEx.New2("Image1")
Also, how do I save that image once it's working?
Thank you;
linum