смол фикс
This commit is contained in:
parent
5678ff27d5
commit
fab303ad1d
@ -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
|
||||
});
|
||||
|
@ -103,7 +103,7 @@ namespace BusinessLogic.OfficePackage.Implements
|
||||
{
|
||||
return;
|
||||
}
|
||||
XImage image = XImage.FromFile(path);
|
||||
|
||||
_document.LastSection.AddImage(path);
|
||||
}
|
||||
protected override void SavePdf(PdfInfo info)
|
||||
|
Loading…
Reference in New Issue
Block a user