Skip to content

Commit

Permalink
Core - PdfPrintSettings change Margins from double to int
Browse files Browse the repository at this point in the history
Resolves #3196
  • Loading branch information
amaitland committed Jul 23, 2020
1 parent 86e9b71 commit 55c3ae2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CefSharp/PdfPrintSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,22 +36,22 @@ public sealed class PdfPrintSettings
/// <summary>
/// Margin in points (1"/72). Only used if MarginType is set to Custom.
/// </summary>
public double MarginLeft { get; set; }
public int MarginLeft { get; set; }

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

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

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

/// <summary>
/// Margin type.
Expand Down

0 comments on commit 55c3ae2

Please sign in to comment.