Skip to content

Commit 409ae3f

Browse files
kblokMeir017
authored andcommitted
Make PaperFormat Height and Width public. (#408)
* Make PaperFormat Height and Width public. * Nit
1 parent 5323e8f commit 409ae3f

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

lib/PuppeteerSharp/Media/PaperFormat.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,24 @@
66
/// <seealso cref="PdfOptions.Format"/>
77
public class PaperFormat
88
{
9-
internal decimal Width { get; set; }
10-
internal decimal Height { get; set; }
11-
129
private PaperFormat(decimal width, decimal height)
1310
{
1411
Width = width;
1512
Height = height;
1613
}
1714

15+
/// <summary>
16+
/// Page width in inches
17+
/// </summary>
18+
/// <value>The width.</value>
19+
public decimal Width { get; set; }
20+
21+
/// <summary>
22+
/// Page height in inches
23+
/// </summary>
24+
/// <value>The Height.</value>
25+
public decimal Height { get; set; }
26+
1827
/// <summary>
1928
/// Letter.
2029
/// </summary>

0 commit comments

Comments
 (0)