Fixed: Page.Size should use points instead of inches (API consistency)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user