2
0
Эх сурвалжийг харах

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

MarcinZiabek 3 жил өмнө
parent
commit
d1cd7b06db

+ 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);