Extending size of image

Example requests & Code samples for GdPicture Toolkits.
Post Reply
mp33487
Posts: 54
Joined: Wed May 06, 2009 4:26 am

Extending size of image

Post by mp33487 » Mon Jun 21, 2010 1:51 pm

How can I extend the physical size of an image? The idea is to make the image longer, add a barcode to the bottom of the page and print it with autofit. Can you give me a code sample please?

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Extending size of image

Post by Loïc » Mon Jun 21, 2010 6:04 pm

Hi,

Here steps to follow.

1- Create a new bitmap with white background. See CreateNewGdPictureBitmap() method.
2- Draw your original bitmap on it. See DrawGdPictureImage() method.
3- Add your barcode. See Barcode1DWrite() method.
4 - Print. See PrintFit() method.

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest