смол фикс

This commit is contained in:
the 2024-06-25 20:29:36 +04:00
parent 5678ff27d5
commit fab303ad1d
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ namespace BusinessLogic.OfficePackage
CreatePdf(info);
CreateParagraph(new PdfParagraph
{
Text = $"{info.Title}\nНа товар {info.Product.Name}",
Text = $"{info.Title}\n{info.Product.Name}",
Style = "NormalTitle",
ParagraphAlignment = PdfParagraphAlignmentType.Center
});

View File

@ -103,7 +103,7 @@ namespace BusinessLogic.OfficePackage.Implements
{
return;
}
XImage image = XImage.FromFile(path);
_document.LastSection.AddImage(path);
}
protected override void SavePdf(PdfInfo info)