-- 图片保存一片空白
Dim p As WinForm.Panel = e.Form.Controls("pnl_body")
e.Form.Page.PaperKind = 9
e.Form.Page.LeftMargin = 3 \'设置左边距
e.Form.Page.RightMargin = 5 \'设置右边距
e.Form.Page.TopMargin = 2 \'设置上边距
e.Form.Page.BottomMargin = 1 \'设置下边距
Dim doc As PrintDoc = e.Form.GernatePrintDoc(p)
Dim aa As String = ProjectPath & "导出文件\\设计版单\\" & Date.Today & Rand.NextString(5) & ".jpg"
doc.SaveImage(aa,300)
保存成图片却是一片空白,有办法解决吗?(保存成PDF没有问题)