Rectangle as bitmap

Re: Rectangle as bitmap

Postby Natter » Mon Oct 11, 2021 11:26 am

IIn this case, dolg:AControls[ 1 ]:Save To Bmp( "test.bmp" ) is not suitable because it only gives a picture of the screen. In the example, it is possible to save the control (the size of which is larger than the screen) to PDF, but I need a bitmap. In addition, this PDF file does not quite correspond to what I would like to get
Natter
 
Posts: 1214
Joined: Mon May 14, 2007 9:49 am

Re: Rectangle as bitmap

Postby karinha » Mon Oct 11, 2021 12:33 pm

One solution would be to send it to a virtual PDF printer, PDFMACHINE for example. Sure it will work. Just a humble idea.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Rectangle as bitmap

Postby karinha » Mon Oct 11, 2021 12:42 pm

Look, using PDFMACHINE, very show().

https://imgur.com/MKIJEDH

Image

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Rectangle as bitmap

Postby karinha » Mon Oct 11, 2021 12:54 pm

You can also use sumatraPDF.exe, with it you can control how you want to print.

https://www.sumatrapdfreader.org/download-free-pdf-viewer

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: Rectangle as bitmap

Postby Natter » Mon Oct 11, 2021 12:55 pm

You can do that, but it's a crutch :D
Natter
 
Posts: 1214
Joined: Mon May 14, 2007 9:49 am

Re: Rectangle as bitmap

Postby karinha » Mon Oct 11, 2021 12:59 pm

Natter wrote:You can do that, but it's a crutch :D


look,

http://forums.fivetechsupport.com/viewtopic.php?f=6&t=40909&sid=e812601b914e386a31302a1605d17148

Maybe with freeimage.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7804
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 61 guests