Images in header are to high

  • ImageLogo is a TImage.


    procedure Logo
    var
    TWOPImageLogo : TWPOImage;
    begin
    TWOPImageLogo := TWPOImage.Create(WPRichText);
    ImageLogo.AutoSize := true;
    ImageLogo.Proportional := true;
    ImageLogo.Stretch := false;

    // Assign the Bitmap to ImageLogo
    ImageLogo.Picture.Assign(pFIBDataSetLogoEtab.FieldByName('LOGO'));

    TWOPImageLogo.Assign(ImageLogo.Picture.Graphic);
    WPRichText.TextObjects.Insert(TWOPImageLogo);
    end;

    • Offizieller Beitrag

    Hi,

    You can now download V5.18.8 which uses revised image heights in the header. There also was a problem wih paragraph dependent images an the height of the line. I also have checked your file - I cannot see any problem anymore. Deleting the mentioned tabs moves your 'dossier' line and the line break appears correctly.

    Julian