Skip to content

Commit 4e2f23a

Browse files
committed
added advanced option for omitbackground
1 parent 0c94155 commit 4e2f23a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Api2Pdf.DotNet/Api2Pdf.DotNet.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<Description>
1515
This client library is a wrapper for the Api2Pdf.com REST API. See full REST api documentation at https://www.api2pdf.com/documentation/v2. Api2Pdf is a powerful API that supports HTML to PDF, URL to PDF, HTML to Image, URL to Image, Thumbnail / image preview of an Office file, Office files (Word to PDF), HTML to Docx, HTML to excel, PDF to HTML, merge PDFs together, add bookmarks to PDFs, add passwords to PDFs
1616
</Description>
17-
<Version>2.0.0</Version>
17+
<Version>2.0.1</Version>
1818
</PropertyGroup>
1919

2020
<ItemGroup>

Api2Pdf.DotNet/RequestModels.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public abstract class ChromePdfOptions
8383
public bool Landscape { get; set; } = false;
8484
public bool DisplayHeaderFooter { get; set; } = false;
8585
public bool PrintBackground { get; set; } = true;
86+
public bool OmitBackground { get; set; } = false;
8687
public decimal Scale { get; set; } = 1.0m;
8788

8889
private string _width = "8.27in";

0 commit comments

Comments
 (0)