With the Purepdf module, I would like to be able to display a different logo in the Header procedure depending on the module that launched the PDF creation. Is this possible?
thanks for answeringHeader() procedure
if toto = ‘tata’
PDF::Image(‘logo_purepdf.png’,10,8,33)
else
PDF::Image(‘logo_pure.png’,10,8,33)
endif
PDF::SetFont(‘Arial’,‘B’,15)
PDF::Cell(80)
PDF::Cell(30,10,‘Title’,1,0,PDF::#ALIGN_CENTER)
PDF::Ln(20)
EndProcedure