Convert HTML Format on the clipboard to a picture?

General TRichView support forum. Please post your questions here
Post Reply
PeterPanino
Posts: 57
Joined: Tue Jul 13, 2010 10:50 pm

Convert HTML Format on the clipboard to a picture?

Post by PeterPanino »

Hi! I have a "HTML Format" layer on the clipboard:

Image

Can I paste this to a Richview component, then convert it to a picture and then copy this picture back to the clipboard? (Preferably hidden from the user).
Sergey Tkachenko
Site Admin
Posts: 17310
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

HTML can be pasted using TrvHtmlImporter or TrvHtmlViewImporter (better) components, see http://www.trichview.com/resources/
You can paste it to TRVReportHelper.RichView.
For making pictures from documents, see the demo in
Demos\DelphiUnicode\Assorted\Graphics\ToImage\
Post Reply