You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use object for Top / Left / Bottom / Right in MarginOptions (#2788)
* Use object for Top / Left / Bottom / Right in MarginOptions
This is similar to the object Width / Height in PdfOptions and all of them already got converted by ConvertPrintParameterToInches
* Add back PdfOptionsShouldWorkWithMarginWithNoUnits test
* Expand comment for PrimitiveTypeConverter
* Turn test into unit test
* bump System.Text.Json
* chrome 129.0.6668.100
---------
Co-authored-by: Darío Kondratiuk <[email protected]>
Copy file name to clipboardexpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ await page.GoToAsync("http://www.google.com"); // In case of fonts being loaded
90
90
awaitpage.EvaluateExpressionHandleAsync("document.fonts.ready"); // Wait for fonts to be loaded. Omitting this might result in no text rendered in pdf.
91
91
awaitpage.PdfAsync(outputFile);
92
92
```
93
-
<sup><ahref='https://github.com/hardkoded/puppeteer-sharp/blob/master/lib/PuppeteerSharp.Tests/PageTests/PdfTests.cs#L23-L33'title='Snippet source file'>snippet source</a> | <ahref='#snippet-pdfasync_example'title='Start of snippet'>anchor</a></sup>
93
+
<sup><ahref='https://github.com/hardkoded/puppeteer-sharp/blob/master/lib/PuppeteerSharp.Tests/PageTests/PdfTests.cs#L24-L34'title='Snippet source file'>snippet source</a> | <ahref='#snippet-pdfasync_example'title='Start of snippet'>anchor</a></sup>
0 commit comments