Method Custom
- Namespace
- DotNetBrowser.Print
- Assembly
- DotNetBrowser.dll
Custom(int)
Creates a custom scaling which scales the content according to the given scale factor.
public static Scaling Custom(int scaleFactor)
Parameters
scaleFactorintThe scale factor to apply to the content, where <pre><code class="lang-csharp">100</code></pre>is a normal size. Should be in the range from
<pre><code class="lang-csharp">10</code></pre>to
200.
Returns
- Scaling
The scaling used for printing.
Exceptions
- ArgumentOutOfRangeException
The <code class="paramref">scaleFactor</code> is out of range. Should be in the range from <pre><code class="lang-csharp">10</code></pre>to
200.