смол фикс
This commit is contained in:
parent
5678ff27d5
commit
fab303ad1d
@ -15,7 +15,7 @@ namespace BusinessLogic.OfficePackage
|
|||||||
CreatePdf(info);
|
CreatePdf(info);
|
||||||
CreateParagraph(new PdfParagraph
|
CreateParagraph(new PdfParagraph
|
||||||
{
|
{
|
||||||
Text = $"{info.Title}\nНа товар {info.Product.Name}",
|
Text = $"{info.Title}\n{info.Product.Name}",
|
||||||
Style = "NormalTitle",
|
Style = "NormalTitle",
|
||||||
ParagraphAlignment = PdfParagraphAlignmentType.Center
|
ParagraphAlignment = PdfParagraphAlignmentType.Center
|
||||||
});
|
});
|
||||||
|
@ -103,7 +103,7 @@ namespace BusinessLogic.OfficePackage.Implements
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
XImage image = XImage.FromFile(path);
|
|
||||||
_document.LastSection.AddImage(path);
|
_document.LastSection.AddImage(path);
|
||||||
}
|
}
|
||||||
protected override void SavePdf(PdfInfo info)
|
protected override void SavePdf(PdfInfo info)
|
||||||
|
Loading…
Reference in New Issue
Block a user