ソースを参照

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.

読み込み中…
キャンセル
保存