java - Image Export DayPilot Scheduler -


i trying export daypilot scheduler, using code

daypilotscheduler1.datasource = dbgetevents(daypilotscheduler1.startdate, daypilotscheduler1.days);//opens 2 rows  daypilotscheduler1.databind();  daypilotscheduler1.cssonly = false;  response.clear();  response.contenttype = "image/png";  response.addheader("content-disposition", "attachment;filename=print.png");  daypilotscheduler1.databind();  memorystream img = daypilotscheduler1.export(imageformat.png);  img.writeto(response.outputstream);  daypilotscheduler1.cssonly = true;  response.end(); 

and dates in exported file dont cover period daypilotscheduler1.startdate

daypilotscheduler1.enddate, dates see on screen, printscreen. can

cause problem?

do this:

daypilotscheduler1.width = unit.percentage(100); 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -