FAQ Answer Window
Back to Technical FAQs
Print this window by pressing 'CTRL' and 'P'

Q: Our company logo has been added to the Hornet Windmill reports but is not drawn tall enough to fill the space in the report header. Can I change this?

A: Logos are added to the report as bitmap (BMP) images and are drawn to fit within a defined area on the page whilst preserving the original aspect ratio (height to width aspect) of the image. Logos that are significantly wider rather than high will be not therefore fill the available height on the page as it is the width that determines the overall size. You can change the area defined for the logo by editing the Report Instruction file that produces the report. In the INS file locate the section starting with the label logos;. Two logos are usually drawn, the first is the left hand one and the second is the right hand one. You need to adjust both as follows to double the available width, first the left hand image:

Change: To:
;ev @c=coord$(1.2, 2) ;ev @c=coord$(1.2, 2)
;ev @d=coord$(6.8, 36) ;ev @d=coord$(6.8, 72)

And the right hand image:

Change:
To:
;ev @c=coord$(1.2, @cols-36) ;ev @c=coord$(1.2, @cols-72)
;ev @d=coord$(6.8, @cols-1) ;ev @d=coord$(6.8, @cols-1)

The logos will be rescaled to make maximum use of the new defined size.

Ref: 18003