|
|
@ -76,12 +76,7 @@ namespace BBWY.Client.Views.FallWare |
|
|
|
this.Width = pageWidth; |
|
|
|
this.FontSize = 30; |
|
|
|
this.jd_box.Arrange(new Rect(new Point(0, 0), new Size(pageWidth, pageHeight))); |
|
|
|
//794 429 Width="478" Height="440"
|
|
|
|
//this.jd_box.Arrange(new Rect(new Point((pageWidth - jd_box.DesiredSize.Width) / 2, (pageHeight - jd_box.DesiredSize.Height) / 2), new Size(jd_box.DesiredSize.Width, jd_box.DesiredSize.Height)));
|
|
|
|
|
|
|
|
printDialog.PrintVisual(this.jd_box, "打印任务"); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
var applicationPath = System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); |
|
|
|
string printNames = System.IO.Path.Combine(applicationPath, "printName.init"); |
|
|
|