StiReport report = new StiReport();
report.Load(Server.MapPath("~/Reports/Jobs.mrt"));
report["@PrjectId"] = 1;
report["@OrderBy"] = sort;
// this problem
report.Dictionary.Variables["image"].width=5
report.Render();
}
答案 0 :(得分:0)
嗨,我爱这个问题:
StiReport report = new StiReport();
var image = report.GetComponentByName("Image1") as StiImage;
image.CanGrow =false ;