gpt4 book ai didi

java - 图像导出 DayPilot 调度程序

转载 作者:太空宇宙 更新时间:2023-11-03 17:02:42 25 4
gpt4 key购买 nike

我正在尝试使用此代码导出 DayPilot Scheduler

DayPilotScheduler1.DataSource = dbGetEvents(DayPilotScheduler1.StartDate, DayPilotScheduler1.Days);//OPens only two 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();

并且导出文件中的日期不涵盖从 DayPilotScheduler1.StartDate 到

的所有时间段

DayPilotScheduler1.EndDate,但只有我在屏幕上看到的日期,如打印屏幕。什么可以

导致这个问题?

最佳答案

这样做:

DayPilotScheduler1.Width = Unit.Percentage(100);

关于java - 图像导出 DayPilot 调度程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18119791/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com