#1 Re: PDF Engine » How set default view - fit to width ? » 2012-05-24 12:58:36

Pdf := TPdfDocumentGDI.Create;
  pdf.NewDoc;
  try
    Pdf.Info.Author        := 'Tester';
    Pdf.Info.CreationDate  := Now;
    Pdf.Info.Creator       := 'Tester';
    Pdf.ScreenLogPixels:=120;

    //pdf.PDFA1:=true;

    Pdf.ForceJPEGCompression:=90;
    Pdf.DefaultPaperSize   := psA4;

    Page := PDF.AddPage;
....
Canvas Draw
....
  Pdf.SaveToFile('test.pdf');
  finally
    Pdf.Free;
-----------------------------

PDF created fine, but when watching it fit to height in Acrobat Viewer.
When I open the document in Openoffice I can specify when you export the initial appearance - "fit to width" or "100%"

How to set it in synpdf?

#2 PDF Engine » How set default view - fit to width ? » 2012-05-22 15:04:49

Gregos
Replies: 3

I try TPdfDestination but it's not work

Board footer

Powered by FluxBB