瀏覽代碼

Added default margins

Feature
Safet Purkovic 4 年之前
父節點
當前提交
1c18c24fdb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      BlackRock.Reporting.API/Core/Models/OptionsForPdf.cs

+ 1
- 1
BlackRock.Reporting.API/Core/Models/OptionsForPdf.cs 查看文件

@@ -69,7 +69,7 @@ namespace BlackRock.Reporting.API.Core.Models
/// <summary>
/// Paper margins, defaults to none
/// </summary>
public MarginOptions MarginOptions { get; set; } = new MarginOptions();
public MarginOptions MarginOptions { get; set; } = new MarginOptions(){Top="3.0 mm",Right = "3.0 mm",Left="3.0 mm",Bottom="12.7 mm"};

/// <summary>
/// Give any CSS <c>@page</c> size declared in the page priority over what is declared in <c>width</c> and <c>height</c> or <c>format</c> options.

Loading…
取消
儲存