From 55c3ae25550369afa8f1deb555fdf85448cea6f4 Mon Sep 17 00:00:00 2001 From: amaitland Date: Thu, 23 Jul 2020 14:54:24 +1000 Subject: [PATCH] Core - PdfPrintSettings change Margins from double to int Resolves #3196 --- CefSharp/PdfPrintSettings.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CefSharp/PdfPrintSettings.cs b/CefSharp/PdfPrintSettings.cs index e5330f93f4..afd26b4380 100644 --- a/CefSharp/PdfPrintSettings.cs +++ b/CefSharp/PdfPrintSettings.cs @@ -36,22 +36,22 @@ public sealed class PdfPrintSettings /// /// Margin in points (1"/72). Only used if MarginType is set to Custom. /// - public double MarginLeft { get; set; } + public int MarginLeft { get; set; } /// /// Margin in points (1"/72). Only used if MarginType is set to Custom. /// - public double MarginTop { get; set; } + public int MarginTop { get; set; } /// /// Margin in points (1"/72). Only used if MarginType is set to Custom. /// - public double MarginRight { get; set; } + public int MarginRight { get; set; } /// /// Margin in points (1"/72). Only used if MarginType is set to Custom. /// - public double MarginBottom { get; set; } + public int MarginBottom { get; set; } /// /// Margin type.