You are not logged in.
Pages: 1
Hello
MyProcedure has this paramters
destination: TCanvas;AusgabeNummer:Integer;ppdf:Boolean = false);
so, when ppdf is true then
I set destination to VCLCanvas.
My idea was something like this:
if ppdf then
destination :=getPdfObject.VCLCanvas;
Unfortunately it will be throw an access error.
Could someone help me?
Thanks,
loris
Offline
Hello
the getPdfOpject is...
procedure TfaStartf.createPdfObject;
begin
m_tpdf:=TPdfDocumentGDI.Create
end;
{------------------------------------------------}
function TfaStartf.getPdfObject:TPdfDocumentGDI;
begin
result:=m_tpdf
end;
Offline
Pages: 1