This content has been marked as final. Show 2 replies
The header and footer procedures are prcocessed with an "execute immediate". Your variable header_jpg is not available at that point,
so the executed code will not compile and no header/footer will be shown. You will need to derive your image blob inside the header procedure.
Thanks for your response.
I created a function to return the image as a BLOB and a quick test shows that it is now working properly.
as_pdf3.horizontal_line(10, 25, 584);
as_pdf3.set_font( 'helvetica', 8 );
as_pdf3.put_txt( 10, 15, 'Page #PAGE_NR# of "PAGE_COUNT#' );
as_pdf3.put_image( pres_comp_coi_util_pkg.get_blob( 272, 'coi_pdf_header.png')
, p_x => 335
, p_y => as_pdf3.get( as_pdf3.C_GET_PAGE_HEIGHT ) - 100
, p_width => 567
, p_height => 75
Many thanks for you assistance and the creation of the as_pdf3 package.
One quick question ... what are the unit of measurement for the p_x, p_y, p_width and p_height?