Hello,
Is it possible to create PDF files from a TRichView component ? If so, is there an example ?
Many thanks
PDF Engine and TRichView
-
- Site Admin
- Posts: 17553
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: PDF Engine and TRichView
TRichView does not have its own methods for PDF export.
However, it can use third-party PDF engines.
1. If you use FireMonkey, you can use PDF engine of Skia4Delphi.
Just use TRVPrint.SavePDF or TRVReportHelper.SavePDF.
Skia4Delphi is included in Delphi 12, or can be downloaded from https://github.com/skia4delphi/skia4delphi/releases
(Do not use GetIt version of Skia4Delphi if it is older than version 6).
2, In VCL version, you can use third-party tools: eDocEngine (commercial), SynPDF (free), LLPDFLib (free)
Demo projects can be found in <TRichView Dir>\ThirdParty\Export\ folder.
However, it can use third-party PDF engines.
1. If you use FireMonkey, you can use PDF engine of Skia4Delphi.
Just use TRVPrint.SavePDF or TRVReportHelper.SavePDF.
Skia4Delphi is included in Delphi 12, or can be downloaded from https://github.com/skia4delphi/skia4delphi/releases
(Do not use GetIt version of Skia4Delphi if it is older than version 6).
2, In VCL version, you can use third-party tools: eDocEngine (commercial), SynPDF (free), LLPDFLib (free)
Demo projects can be found in <TRichView Dir>\ThirdParty\Export\ folder.