<h3 dir="auto">Feature request</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop(&quot;0.25in&quot;).setBottom(&quot;0.25in&quot;).setLeft(&quot;0.25in&quot;).setRight(&quot;0.25in&quot;))"><pre class="notranslate"><code class="notranslate">Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop("0.25in").setBottom("0.25in").setLeft("0.25in").setRight("0.25in"))
</code></pre></div>
<p dir="auto">works, but</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop(&quot;1em&quot;).setBottom(&quot;1em&quot;).setLeft(&quot;1em&quot;).setRight(&quot;1em&quot;))"><pre class="notranslate"><code class="notranslate">Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop("1em").setBottom("1em").setLeft("1em").setRight("1em"))
</code></pre></div>
<p dir="auto">causes the error <code class="notranslate">Failed to parse parameter value: 1em</code></p>
<h3 dir="auto">Feature request</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop(&quot;0.25in&quot;).setBottom(&quot;0.25in&quot;).setLeft(&quot;0.25in&quot;).setRight(&quot;0.25in&quot;))"><pre class="notranslate"><code class="notranslate">Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop("0.25in").setBottom("0.25in").setLeft("0.25in").setRight("0.25in"))
</code></pre></div>
<p dir="auto">works, but</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop(&quot;1em&quot;).setBottom(&quot;1em&quot;).setLeft(&quot;1em&quot;).setRight(&quot;1em&quot;))"><pre class="notranslate"><code class="notranslate">Page.PdfOptions pdfOptions = new Page.PdfOptions()
                .setMargin(new Margin().setTop("1em").setBottom("1em").setLeft("1em").setRight("1em"))
</code></pre></div>
<p dir="auto">causes the error <code class="notranslate">Failed to parse parameter value: 1em</code></p>