|
|
|
@ -1132,13 +1132,16 @@ namespace Shentun.Peis.ReportTemplates |
|
|
|
List<Row> rows = p1Titletable.Rows; |
|
|
|
|
|
|
|
Row row0 = rows[0]; |
|
|
|
row0.Height = 50f; |
|
|
|
row0.Height = 65f; |
|
|
|
row0.Cells[0].Width = 50f; |
|
|
|
Xceed.Document.NET.Image logo = document.AddImage(DirectoryName + @"\CustomerOrgTemplate\logo.jpg"); |
|
|
|
Xceed.Document.NET.Image logo = document.AddImage(DirectoryName + @"\CustomerOrgTemplate\logo_template.jpg"); |
|
|
|
Formatting p1TitleFormatting = new Formatting(); |
|
|
|
p1TitleFormatting.FontFamily = new Xceed.Document.NET.Font("宋体"); |
|
|
|
p1TitleFormatting.FontColor = Color.FromArgb(0, 128, 0); |
|
|
|
row0.Cells[0].Paragraphs[0].AppendPicture(logo.CreatePicture()); |
|
|
|
var pic = logo.CreatePicture(); |
|
|
|
pic.Width = 65f; |
|
|
|
pic.Height = 65f; |
|
|
|
row0.Cells[0].Paragraphs[0].AppendPicture(pic); |
|
|
|
row0.Cells[0].VerticalAlignment = VerticalAlignment.Center; |
|
|
|
row0.Cells[1].Width = document.PageWidth - document.MarginLeft - document.MarginRight - 30f; |
|
|
|
row0.Cells[1].Paragraphs[0].Append("团体体检健康检查统计报告", p1TitleFormatting).FontSize(22).Alignment = Alignment.center; |
|
|
|
|