TfrxPDFView DINA3

KingSoftKingSoft Germany/Hannover

If i print a PDF from a database-field and the PDF is stored as DINA3, i would like to set the size of the page to A3 before printing!

Is there a property or a method?

Thanks

Bernd

Comments

  • There is no such property or method

  • edited October 2022

    Thank you so much. There is no such property or method. godskin apostle

  • A bit late but maybe helpfull for others: My guess would be that the PDF component is on a a report page and setting the paper size of the page (in the beforeprint event) would change the PDF component as well..

  • KingSoftKingSoft Germany/Hannover

    Hi FastReportNL,

    Thank you for your request.

    As example, I testet it with:

    procedure pdfMechanikOnBeforePrint(Sender: TfrxComponent);

    begin

     if pdfMechanik.Width > 1000 then

       pgMe.PaperSize := 8;           

    end;

    but it doesn't work...

    Perhaps there are different sheet-sizes in a PDF-Blob-Field (so there are for example a A4-sheet and a A3-sheet in a PDF)😥

Leave a Comment