Skip to content

Commit 917062e

Browse files
committed
Default zoom to 100 percent.
1 parent 6c22651 commit 917062e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Source/HtmlRenderer.PdfSharp/PdfGenerateConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public sealed class PdfGenerateConfig
4040
/// <summary>
4141
/// the zoom level for the page.
4242
/// </summary>
43-
private double _zoomLevel;
43+
private double _zoomLevel = 1;
4444

4545
/// <summary>
4646
/// the top margin between the page start and the text

Source/HtmlRenderer.SkiaSharp/PdfGenerateConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public sealed class PdfGenerateConfig
9999
/// <summary>
100100
/// the zoom level for the page.
101101
/// </summary>
102-
private float _zoomLevel;
102+
private float _zoomLevel = 1;
103103

104104
/// <summary>
105105
/// the top margin between the page start and the text

0 commit comments

Comments
 (0)