android - PdfDocument Print on Two page -


hey i've converted custom listview in bitmap. size of bitmap large want print bitmap in 2 separate pages of pdf file using pdfdocument class. i've searched same don't proper solution. can 1 me!!??

try splitting bitmap 2 parts before using pdfdoucment class.

bitmap source;            //original bitmap file bitmap page1=bitmap.createbitmap(source, 0, 0, source.getwidth(), source.getheight()/2); bitmap page2=bitmap.createbitmap(source,0,source.getheight()/2,source.getwidth(),source.getheight()); 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -