Il 22/05/2010 13.32, Jarosław Kądzioła ha scritto:
Hi,




function main()
    local oPdf
    oPdf := tPdf():New( 'test.pdf' )
    oPdf:NewPage( "A4", "P", 6 )
    oPdf:Center("Test")
    oPdf:Close()
return nil
The "test.pdf" file has always the same size: 8,5 in. x 11 in.,  althoug
replacing "A4" by "LETTER", "A3"...etc
I'm using :

HPDF_Page_SetHeight()
HPDF_Page_SetWidth()


Hi, the question is about hbvpdf, not hbhpdf.
AFAIR hbvpdf don't cover the change of the page size, also if ther'is an array storing the paper dimensions. Any change to the page type don't results in a true recalculation of the layout.
I suggest to David, as Viktor saw to me, to use hbhpdf.
Best regards.
Maurizio
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to