Skip to content

Commit ac8d922

Browse files
committed
Core - PdfPrintSettings change Margins from double to int
Resolves #3196
1 parent 0d23112 commit ac8d922

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CefSharp/PdfPrintSettings.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,22 @@ public sealed class PdfPrintSettings
3636
/// <summary>
3737
/// Margin in points (1"/72). Only used if MarginType is set to Custom.
3838
/// </summary>
39-
public double MarginLeft { get; set; }
39+
public int MarginLeft { get; set; }
4040

4141
/// <summary>
4242
/// Margin in points (1"/72). Only used if MarginType is set to Custom.
4343
/// </summary>
44-
public double MarginTop { get; set; }
44+
public int MarginTop { get; set; }
4545

4646
/// <summary>
4747
/// Margin in points (1"/72). Only used if MarginType is set to Custom.
4848
/// </summary>
49-
public double MarginRight { get; set; }
49+
public int MarginRight { get; set; }
5050

5151
/// <summary>
5252
/// Margin in points (1"/72). Only used if MarginType is set to Custom.
5353
/// </summary>
54-
public double MarginBottom { get; set; }
54+
public int MarginBottom { get; set; }
5555

5656
/// <summary>
5757
/// Margin type.

0 commit comments

Comments
 (0)