Page 1 of 1

Convert HTML Format on the clipboard to a picture?

Posted: Sat Jan 25, 2014 1:53 am
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).

Posted: Sat Jan 25, 2014 8:26 am
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\