<div class="header-panel member">
<h2><span class="identifier">PdfPageArea</span> Class</h2>
<dl class="dl-horizontal">
<dt>File</dt><dd class="filename">wijmo.pdf.js</dd>
<dt>Module</dt><dd><a href="topic/wijmo.pdf.Module.html"><span class="identifier">wijmo.pdf</span></a></dd>
<dt>Derived Classes</dt><dd><a href="topic/wijmo.pdf.PdfDocument.Class.html"><span class="identifier">PdfDocument</span></a>, <a href="topic/wijmo.pdf.PdfRunningTitle.Class.html"><span class="identifier">PdfRunningTitle</span></a></dd>
</dl>
<div class="comment"><p>Represents an area of a page with its own coordinate system, where (0, 0) points 
to the top-left corner.
Provides methods for drawing text, images, paths and transformations.</p>
<p>This class is not intended to be instantiated in your code.</p></div>
</div>
<div class="member-panel class members" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<h3 class="node">Constructor</h3>
<ul>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#constructor">constructor</a></li>
</ul>
<h3 class="node">Properties</h3>
<ul>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#height">height</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#lineGap">lineGap</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#paths">paths</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#width">width</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#x">x</a></li>
<li class="mproperty"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#y">y</a></li>
</ul>
<h3 class="node">Methods</h3>
<ul>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#drawImage">drawImage</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#drawSvg">drawSvg</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#drawText">drawText</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#lineHeight">lineHeight</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#measureText">measureText</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#moveDown">moveDown</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#moveUp">moveUp</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#rotate">rotate</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#scale">scale</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#transform">transform</a></li>
<li class="mmethod"><a href="topic/wijmo.pdf.PdfPageArea.Class.html/#translate">translate</a></li>
</ul>
</div>
<h3>Constructor</h3>
<div id="constructor" class="member-panel mmethod">
<h3>constructor</h3>
<pre>constructor(): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Initializes a new instance of the <a href="topic/wijmo.pdf.PdfRunningTitle.Class.html"><span class="identifier">PdfRunningTitle</span></a> class.</p></div>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<h3 class="node">Properties</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="height" class="member-panel mproperty">
<h3>height</h3>
<div class="comment"><p>Gets the height of the area, in points.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="lineGap" class="member-panel mproperty">
<h3>lineGap</h3>
<div class="comment"><p>Gets or sets the spacing between each line of text, in points.</p>
<p>The default value is 0.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="paths" class="member-panel mproperty">
<h3>paths</h3>
<div class="comment"><p>Gets an object that provides ability to draw paths.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="topic/wijmo.pdf.PdfPaths.Class.html"><span class="identifier">PdfPaths</span></a></dd>
</dl>
</div>
<div id="width" class="member-panel mproperty">
<h3>width</h3>
<div class="comment"><p>Gets the width of the area, in points.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="x" class="member-panel mproperty">
<h3>x</h3>
<div class="comment"><p>Gets or sets the X-coordinate (in points) of the current point in the text flow 
used to draw a text or an image.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="y" class="member-panel mproperty">
<h3>y</h3>
<div class="comment"><p>Gets or sets the Y-coordinate (in points) of the current point in the text flow 
used to draw a text or an image.</p></div>
<dl class="dl-horizontal">
  <dt>Type</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
</div>
<h3 class="node">Methods</h3>
<div class="member-list" ng-class="{ 'show-inherited' : ctx.showInherited, 'show-raisers' : ctx.showRaisers }">
<div id="drawImage" class="member-panel mmethod">
<h3>drawImage</h3>
<pre>drawImage(url: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>, x?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, y?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, options?: <a href="topic/wijmo.pdf.IPdfImageDrawSettings.Interface.html"><span class="identifier">IPdfImageDrawSettings</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Draws an image in JPG or PNG format with the given options.</p>
<p>If x and y are not defined, then @see:x and @see:y are used instead.</p>
<p>Finally, if the image was drawn in the text flow, the method updates @see:y. 
Hence, any subsequent text or image starts below this point.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>url</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>A string containing the URL to get the image from or the data URI containing a base64 encoded image.</p></li><li><b>x</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The x-coordinate of the point to draw the image at, in points.</p></li><li><b>y</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The y-coordinate of the point to draw the image at, in points.</p></li><li><b>options</b>: <a href="topic/wijmo.pdf.IPdfImageDrawSettings.Interface.html"><span class="identifier">IPdfImageDrawSettings</span></a> <span class="badge">Optional</span><br/><p>Determines the image drawing options.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="drawSvg" class="member-panel mmethod">
<h3>drawSvg</h3>
<pre>drawSvg(url: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>, x?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, y?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, options?: <a href="topic/wijmo.pdf.IPdfSvgDrawSettings.Interface.html"><span class="identifier">IPdfSvgDrawSettings</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Draws a SVG image with the given options.</p>
<p>If x and y are not defined, then @see:x and @see:y are used instead.</p>
<p>The method uses the values of the width and height attributes of the outermost svg element to determine the
scale factor according to the options.width and options.height properties. If any of these attributes are
omitted then scaling is not performed and the image will be rendered in its original size.</p>
<p>Finally, if the image was drawn in the text flow, the method updates @see:y.
Hence, any subsequent text or image starts below this point.
The increment value is defined by the options.height property or by the outermost svg element's height attribute, which comes first.
If none of them is provided then @see:y will stay unchanged.</p>
<p>The method supports a limited set of SVG features and provided primarily for rendering wijmo 5 chart controls.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>url</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>A string containing the URL to get the SVG image from or the data URI containing a base64 encoded SVG image.</p></li><li><b>x</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The x-coordinate of the point to draw the image at, in points.</p></li><li><b>y</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The y-coordinate of the point to draw the image at, in points.</p></li><li><b>options</b>: <a href="topic/wijmo.pdf.IPdfSvgDrawSettings.Interface.html"><span class="identifier">IPdfSvgDrawSettings</span></a> <span class="badge">Optional</span><br/><p>Determines the SVG image drawing options.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="drawText" class="member-panel mmethod">
<h3>drawText</h3>
<pre>drawText(text: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>, x?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, y?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, options?: <a href="topic/wijmo.pdf.IPdfTextDrawSettings.Interface.html"><span class="identifier">IPdfTextDrawSettings</span></a>): <a href="topic/wijmo.pdf.IPdfTextMeasurementInfo.Interface.html"><span class="identifier">IPdfTextMeasurementInfo</span></a></pre>
<div class="comment"><p>Draws a string with the given options and returns the measurement information.</p>
<p>If <b>options.pen</b>, <b>options.brush</b> or <b>options.font</b> are omitted,
the current document's pen, brush or font are used (see <a href="topic/wijmo.pdf.PdfDocument.Class.html/#setPen"><span class="identifier">setPen</span></a>,
<a href="topic/wijmo.pdf.PdfDocument.Class.html/#setBrush"><span class="identifier">setBrush</span></a>, and  <a href="topic/wijmo.pdf.PdfDocument.Class.html/#setFont"><span class="identifier">setFont</span></a>).</p>
<p>The string is drawn within the rectangular area for which top-left corner, width
and  height are defined by the x, y, <b>options.width</b> and <b>options.height</b>
values. If x and y are not provided, the <a href="topic/wijmo.pdf.PdfDocument.Class.html/#x"><span class="identifier">x</span></a> and <a href="topic/wijmo.pdf.PdfDocument.Class.html/#y"><span class="identifier">y</span></a>
properties are used instead.</p>
<p>The text is wrapped and clipped automatically within the area.
If <b>options.height</b> is not provided and the text exceeds the bottom body edge,
then a new page will be added to accommodate the text.</p>
<p>Finally, the method updates the value of the <a href="topic/wijmo.pdf.PdfDocument.Class.html/#x"><span class="identifier">x</span></a> and <a href="topic/wijmo.pdf.PdfDocument.Class.html/#y"><span class="identifier">y</span></a>
properties. Hence, any subsequent text or image starts below this point
(depending on the value of <b>options.continued</b>).</p>
<p>The measurement result doesn't reflect the fact that text can be split into
multiple pages or columns; the text is treated as a single block.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>text</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>The text to draw.</p></li><li><b>x</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The X-coordinate of the point to draw the text at, in points.</p></li><li><b>y</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The Y-coordinate of the point to draw the text at, in points.</p></li><li><b>options</b>: <a href="topic/wijmo.pdf.IPdfTextDrawSettings.Interface.html"><span class="identifier">IPdfTextDrawSettings</span></a> <span class="badge">Optional</span><br/><p>Determines the text drawing options.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.IPdfTextMeasurementInfo.Interface.html"><span class="identifier">IPdfTextMeasurementInfo</span></a></dd>
</dl>
</div>
<div id="lineHeight" class="member-panel mmethod">
<h3>lineHeight</h3>
<pre>lineHeight(font?: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a>): <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></pre>
<div class="comment"><p>Gets the line height with a given font.</p>
<p>If font is not specified, then font used in the current document is used.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>font</b>: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> <span class="badge">Optional</span><br/><p>Font to get the line height.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a></dd>
</dl>
</div>
<div id="measureText" class="member-panel mmethod">
<h3>measureText</h3>
<pre>measureText(text: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a>, font?: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a>, options?: <a href="topic/wijmo.pdf.IPdfTextMeasurementSettings.Interface.html"><span class="identifier">IPdfTextMeasurementSettings</span></a>): <a href="topic/wijmo.pdf.IPdfTextMeasurementInfo.Interface.html"><span class="identifier">IPdfTextMeasurementInfo</span></a></pre>
<div class="comment"><p>Measures a text with the given font and text drawing options without rendering it.</p>
<p>If font is not specified, then the font used in the current document is used.</p>
<p>The method uses the same text rendering engine as <a href="topic/wijmo.pdf.PdfPageArea.Class.html/#drawText"><span class="identifier">drawText</span></a>, so it is tied up
in the same way to @see:x and the right page margin, if options.width is not
provided. The measurement result doesn't reflect the fact that text can be split 
into multiple pages or columns; the text is treated as a single block.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>text</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String" target="_blank"><span class="identifier">string</span></a><br/><p>Text to measure.</p></li><li><b>font</b>: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> <span class="badge">Optional</span><br/><p>Font to be applied on the text.</p></li><li><b>options</b>: <a href="topic/wijmo.pdf.IPdfTextMeasurementSettings.Interface.html"><span class="identifier">IPdfTextMeasurementSettings</span></a> <span class="badge">Optional</span><br/><p>Determines the text drawing options.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.IPdfTextMeasurementInfo.Interface.html"><span class="identifier">IPdfTextMeasurementInfo</span></a></dd>
</dl>
</div>
<div id="moveDown" class="member-panel mmethod">
<h3>moveDown</h3>
<pre>moveDown(lines?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, font?: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Moves down the @see:y by a given number of lines using the given font or,
using the font of current document, if not specified.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>lines</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>Number of lines to move down.</p></li><li><b>font</b>: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> <span class="badge">Optional</span><br/><p>Font to calculate the line height.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="moveUp" class="member-panel mmethod">
<h3>moveUp</h3>
<pre>moveUp(lines?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, font?: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Moves up the @see:y by a given number of lines using the given font or,
using the font of current document, if not specified.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>lines</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>Number of lines to move up.</p></li><li><b>font</b>: <a href="topic/wijmo.pdf.PdfFont.Class.html"><span class="identifier">PdfFont</span></a> <span class="badge">Optional</span><br/><p>Font to calculate the line height.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="rotate" class="member-panel mmethod">
<h3>rotate</h3>
<pre>rotate(angle: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, origin?: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Rotates the graphic context clockwise by a specified angle.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>angle</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The rotation angle, in degrees.</p></li><li><b>origin</b>: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> <span class="badge">Optional</span><br/><p>The <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> of rotation, in points. If it is not provided,
then the top left corner is used.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="scale" class="member-panel mmethod">
<h3>scale</h3>
<pre>scale(xFactor: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, yFactor?: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, origin?: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Scales the graphic context by a specified scaling factor.</p>
<p>The scaling factor value within the range [0, 1] indicates that the size will be
decreased.
The scaling factor value greater than 1 indicates that the size will be increased.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>xFactor</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The factor to scale the X dimension.</p></li><li><b>yFactor</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a> <span class="badge">Optional</span><br/><p>The factor to scale the Y dimension. If it is not provided, it is
assumed to be equal to xFactor.</p></li><li><b>origin</b>: <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> <span class="badge">Optional</span><br/><p>The <a href="topic/wijmo.Point.Class.html"><span class="identifier">Point</span></a> to scale around, in points. If it is not provided,
then the top left corner is used.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="transform" class="member-panel mmethod">
<h3>transform</h3>
<pre>transform(a: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, b: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, c: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, d: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, e: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, f: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Transforms the graphic context with given six numbers which represents a 
3x3 transformation matrix.</p>
<p>A transformation matrix is written as follows:
<table>
  <tr><td>a</td><td>b</td><td>0</td></tr>
  <tr><td>c</td><td>d</td><td>0</td></tr>
  <tr><td>e</td><td>f</td><td>1</td></tr>
</table></p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>a</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Value of the first row and first column.</p></li><li><b>b</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Value of the first row and second column.</p></li><li><b>c</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Value of the second row and first column.</p></li><li><b>d</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Value of the second row and second column.</p></li><li><b>e</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Value of the third row and first column.</p></li><li><b>f</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>Value of the third row and second column.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
<div id="translate" class="member-panel mmethod">
<h3>translate</h3>
<pre>translate(x: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>, y: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a>): <a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></pre>
<div class="comment"><p>Translates the graphic context with a given distance.</p></div>
<dl class="dl-horizontal">
  <dt>Parameters</dt><dd></dd>
</dl>
<ul>
<li><b>x</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The distance to translate along the X-axis, in points.</p></li><li><b>y</b>: <a href="https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Number" target="_blank"><span class="identifier">number</span></a><br/><p>The distance to translate along the Y-axis, in points.</p></li></ul>
<dl class="dl-horizontal">
  <dt>Returns</dt><dd><a href="topic/wijmo.pdf.PdfPageArea.Class.html"><span class="identifier">PdfPageArea</span></a></dd>
</dl>
</div>
</div>
