improve:pdf插入

This commit is contained in:
2026-04-05 18:42:06 +08:00
parent ea375a9ce6
commit bad05f77b5
6 changed files with 337 additions and 3 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ namespace Ink_Canvas.Controls
NotifyPageNavigationStateChanged();
try
{
BitmapSource raw = await PdfWinRtHelper.RenderPageToBitmapSourceAsync(_pdfPath, pageIndex);
BitmapSource raw = await PdfDocumentRenderHelper.RenderPageToBitmapSourceAsync(_pdfPath, pageIndex);
if (raw == null)
return;