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
Post a Comment