Beiträge von DStudstil

    I have an RTF file that consists of a 3 x 2 table. Each cell contains a JPG and 5 lines of caption underneath. When creating the PDF, the spacing between the lines of text is increased substantially. The font is a TrueType font. When I use the Acrobat PDFWriter, the original letting (line spacing) is retained, but not with RTF2PDF. I have tried a couple of different options to try and correct this, including embedding the fonts and the following Enhanced options, to no avail. The only thing that seems to affect it (although not correctly) is Page margins. Here is my code:
    ---------------
    PDFControl1.BeginDoc PDFfilename, 0
    PDFControl1.ExecIntCommand 1000, 0
    PDFControl1.ExecStrCommand 1002, RTFfilename
    PDFControl1.ExecIntCommand 1010, PageWidth
    PDFControl1.ExecIntCommand 1011, PageHeight
    'margins
    PDFControl1.ExecIntCommand 1012, RptOptions.PageSetup.LeftMargin - 180
    PDFControl1.ExecIntCommand 1013, RptOptions.PageSetup.RightMargin - 180
    PDFControl1.ExecIntCommand 1014, RptOptions.PageSetup.TopMargin
    PDFControl1.ExecIntCommand 1015, 0
    'options
    PDFControl1.PDF_EnhancedOptions = 0
    PDFControl1.PDF_EnhancedOptions = 4
    PDFControl1.ExecIntCommand 1100, 0
    PDFControl1.EndDoc
    ---------------

    I am evaluating the demo for use in my products. I need to be able to retain the original letting before I can use the wPDFControl. I can provide the sample RTF file if necessary.

    Thank you.