Browse Source

Fixed: Page.Size should use points instead of inches (API consistency)

MarcinZiabek 3 years ago
parent
commit
d1cd7b06db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      QuestPDF/Fluent/PageExtensions.cs

+ 1 - 1
QuestPDF/Fluent/PageExtensions.cs

@@ -12,7 +12,7 @@ namespace QuestPDF.Fluent
 
         #region Size
         
-        public void Size(float width, float height, Unit unit = Unit.Inch)
+        public void Size(float width, float height, Unit unit = Unit.Point)
         {
             var pageSize = new PageSize(width, height, unit);