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

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.