Beiträge von aozmez

    Hi,

    How can I replace the following code for a WPTools 5 upgrade from 4:

    GetRichText.PrintParameter.DoNotUpdatePageSize := True;
    GetRichText.PrintParameter.UpdatePrinterProperties(
    fPageWidth, fPageHeight, GetDefMode(),
    GetRichText.PrintParameter.AllPagePaperSource,
    GetRichText.Header.Landscape);

    I noticed that the DoNotUpdatePageSize property does not exist in WPTools 5, same thing for the UpdatePrinterProperties method. What should the replacement look like?

    Thanks,