You are not logged in.
Pages: 1
Hello. First, thank you very much for providing a tool for creating PDF files
Question:
I add a TeeChart page to a pdf document sheet using the following method:
lPdf := TPdfDocumentGDI.Create;
for i := 1 to Chart0.Pages.Count do
Begin
lPage := lPdf.AddPage;
lPdf.VCLCanvas;
TPdfPageGDI(lPage).PageMetafile := Chart0.TeeCreateMetafile(false, Rect(150, 150, (lPdf.VCLCanvasSize.Width - 150), (lPdf.VCLCanvasSize.Height - 150)));
Chart0.NextPage;
End;
That is, I use "TPdfDocumentGDI"
You can create a table using "TGDIPages"
lPdf := TGDIPages.Create(self);
lPdf.BeginDoc;
lPdf.AddColumns([10,20,50]);
lPdf.AddColumnHeaders(['#','Two','Three'],true,true);
lPdf.EndDoc;
How do I combine these two differently created pages into one?
Last edited by Spartak86 (2020-02-05 10:28:15)
Offline
Pages: 1