Rectangle as bitmap

Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: Rectangle as bitmap

Post 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
User avatar
karinha
Posts: 7940
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: Rectangle as bitmap

Post 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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
Posts: 7940
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: Rectangle as bitmap

Post by karinha »

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: 7940
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: Rectangle as bitmap

Post 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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Natter
Posts: 1241
Joined: Mon May 14, 2007 9:49 am

Re: Rectangle as bitmap

Post by Natter »

You can do that, but it's a crutch :D
User avatar
karinha
Posts: 7940
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: Rectangle as bitmap

Post 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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Post Reply