Fix image width on PDF

This commit is contained in:
2026-03-02 16:34:20 +09:00
parent fc89854bfc
commit e80d252b25
+1
View File
@@ -777,6 +777,7 @@ class MainViewModel : BaseViewModel, IFontResolver, ICanCheckShutdown
var paragraph = section.AddParagraph();
paragraph.Format.Alignment = ParagraphAlignment.Center;
var image = paragraph.AddImage(convertedPdfImagePath);
image.Width = imageWidth;
for (var j = 1; j < pgCount; j++)
{
section.AddPageBreak();