From e80d252b25f32a0b8f983307ba489f84026f265f Mon Sep 17 00:00:00 2001 From: Michael Babienco Date: Mon, 2 Mar 2026 16:34:20 +0900 Subject: [PATCH] Fix image width on PDF --- src/ViewModels/MainViewModel.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ViewModels/MainViewModel.cs b/src/ViewModels/MainViewModel.cs index a89144f..2b9f187 100644 --- a/src/ViewModels/MainViewModel.cs +++ b/src/ViewModels/MainViewModel.cs @@ -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();