Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to clip
Message
De
16/11/2020 09:12:58
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
16/11/2020 08:06:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
01677156
Message ID:
01677177
Vues:
66
>>>>Are you wanting to copy the file contents to the clipboard? Or a file, so it can paste into something like Windows Explorer?
>>>Yes Sir, I want copy the file contents to the clipboard.
>>>Hi Mehmood
>>>You can use function "FILETOSTR()" to copy the contents of a file to clipboard
>>>_cliptext = FILETOSTR("filename")
>>
>>His problem is that he doesn't want to copy the file's content as such, but an image of the file as it is presented in a PDF viewer. IOW, the PDF will have to be converted into an image, and then that image must be copied to the clipboard.
>
>It's possible to do this, but it's fairly complex. You would need to launch a viewer with that file, take a bitmap / screenshot / snapshot of that window, and copy those contents to the clipboard, then close it down.
>
>A pretty tall order I'd think. It might be easier with something like Foxypreviewer if you can save a report to an image, and the PDF you want to view is generated from a FoxPro report.

Why not read the PDF, paint to GDI+ and store the picture? A simple lesson ...
Just kidding
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform