dim stmttext
stmttext = getstmttext(sStmtFile)
set mytextarea = mypage.addtextarea(stmttext, 0,100,400,600)
Mytextarea.font = DPDF_Font_Courier
Mytextarea.fontsize = 8
Mytextarea.leading = 14
Any clue on why this would not work. The page comes back with:
DynamicPDF (0x80131500)
Invalid font specified
Thanks,
Brad
Fonts
Re: Fonts
Support · Mar 28, 2006Hello Brad,
The reason you are getting this error is because you are most likely missing the METADATA tag at the top of your page. Remember that the METADATA tag is added to import all the constants (i.e. DPDF_Font_Helvetica, DPDF_Align_Center, etc.).
Add that and this will resolve your issue.
Thanks,
ceTe Software Support Team