Page 3 of 3

Re: Rectangle as bitmap

Posted: Mon Oct 11, 2021 11:26 am
by Natter
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

Re: Rectangle as bitmap

Posted: Mon Oct 11, 2021 12:33 pm
by karinha
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.

Re: Rectangle as bitmap

Posted: Mon Oct 11, 2021 12:42 pm
by karinha
Look, using PDFMACHINE, very show().

https://imgur.com/MKIJEDH

Image

Regards, saludos.

Re: Rectangle as bitmap

Posted: Mon Oct 11, 2021 12:54 pm
by karinha
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.

Re: Rectangle as bitmap

Posted: Mon Oct 11, 2021 12:55 pm
by Natter
You can do that, but it's a crutch :D

Re: Rectangle as bitmap

Posted: Mon Oct 11, 2021 12:59 pm
by karinha
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.