# PdfPageArea Class

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								PdfPageArea Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<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>
								</div>
								<p>This class is not intended to be instantiated in your code.</p>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">PdfPageArea</span>
									<ul class="tsd-hierarchy">
										<li>
											<a href="wijmo_pdf.pdfrunningtitle.html" class="tsd-signature-type">PdfRunningTitle</a>
										</li>
										<li>
											<a href="wijmo_pdf.pdfdocument.html" class="tsd-signature-type">PdfDocument</a>
										</li>
									</ul>
								</li>
							</ul>
						</section>
						<section class="tsd-index-group">
							<section class="tsd-index-panel">
								<div class="tsd-index-content">
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Constructors
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-constructor tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#constructor" class="tsd-kind-icon">constructor</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Properties
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#document" class="tsd-kind-icon">document</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#height" class="tsd-kind-icon">height</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#linegap" class="tsd-kind-icon">line<wbr>Gap</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#paths" class="tsd-kind-icon">paths</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#width" class="tsd-kind-icon">width</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#x" class="tsd-kind-icon">x</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#y" class="tsd-kind-icon">y</a></li>
										</ul>
									</section>
									<section class="tsd-index-section ">
										<div class="title">
											<div class="gc_api_tree-item_icon_img_wrapper">
												<div class="gc_api_tree-item_icon_img" data-expand="true">
												</div>
											</div>
											<h3>
												Methods
											</h3>
										</div>
										<ul class="tsd-index-list">
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#artifact" class="tsd-kind-icon">artifact</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#beginartifact" class="tsd-kind-icon">begin<wbr>Artifact</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#begintagcontent" class="tsd-kind-icon">begin<wbr>Tag<wbr>Content</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#drawimage" class="tsd-kind-icon">draw<wbr>Image</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#drawsvg" class="tsd-kind-icon">draw<wbr>Svg</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#drawtext" class="tsd-kind-icon">draw<wbr>Text</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#endartifact" class="tsd-kind-icon">end<wbr>Artifact</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#endtagcontent" class="tsd-kind-icon">end<wbr>Tag<wbr>Content</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#lineheight" class="tsd-kind-icon">line<wbr>Height</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#measuretext" class="tsd-kind-icon">measure<wbr>Text</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#movedown" class="tsd-kind-icon">move<wbr>Down</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#moveup" class="tsd-kind-icon">move<wbr>Up</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#openimage" class="tsd-kind-icon">open<wbr>Image</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#rotate" class="tsd-kind-icon">rotate</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#scale" class="tsd-kind-icon">scale</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#tagcontent" class="tsd-kind-icon">tag<wbr>Content</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#transform" class="tsd-kind-icon">transform</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdfpagearea.html#translate" class="tsd-kind-icon">translate</a></li>
										</ul>
									</section>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Constructors</h2>
							<section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class">
								<a name="constructor" class="tsd-anchor"></a>
								<h3>constructor</h3>
								<ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">new <wbr>Pdf<wbr>Page<wbr>Area<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Initializes a new instance of the <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
									</li>
								</ul>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Properties</h2>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="document" class="tsd-anchor"></a>
								<h3>document</h3>
								<div class="tsd-signature tsd-kind-icon">document<span class="tsd-signature-symbol">:</span> <a href="wijmo_pdf.pdfdocument.html" class="tsd-signature-type">PdfDocument</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the document object.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="height" class="tsd-anchor"></a>
								<h3>height</h3>
								<div class="tsd-signature tsd-kind-icon">height<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the height of the area, in points.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="linegap" class="tsd-anchor"></a>
								<h3>lineGap</h3>
								<div class="tsd-signature tsd-kind-icon">line<wbr>Gap<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the spacing between each line of text, in points.</p>
									</div>
									<p>The default value is 0.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="paths" class="tsd-anchor"></a>
								<h3>paths</h3>
								<div class="tsd-signature tsd-kind-icon">paths<span class="tsd-signature-symbol">:</span> <a href="wijmo_pdf.pdfpaths.html" class="tsd-signature-type">PdfPaths</a></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets an object that provides ability to draw paths.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="width" class="tsd-anchor"></a>
								<h3>width</h3>
								<div class="tsd-signature tsd-kind-icon">width<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets the width of the area, in points.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="x" class="tsd-anchor"></a>
								<h3>x</h3>
								<div class="tsd-signature tsd-kind-icon">x<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<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>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="y" class="tsd-anchor"></a>
								<h3>y</h3>
								<div class="tsd-signature tsd-kind-icon">y<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<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>
								</div>
							</section>
						</section>
						<section class="tsd-panel-group tsd-member-group ">
							<h2>Methods</h2>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="artifact" class="tsd-anchor"></a>
								<h3>artifact</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">artifact<span class="tsd-signature-symbol">(</span>callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdfartifactoptions.html" class="tsd-signature-type">IPdfArtifactOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Marks content as an artifact.</p>
											</div>
											<p>For example:</p>
											<pre>doc.artifact(() =&gt; doc.drawText('Artifact'));
</pre>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>callback: <span class="tsd-signature-type">Object</span></h5>
												<div class="tsd-comment">
													<p>A callback function that will be automatically executed within a <a href="wijmo_pdf.pdfpagearea.html#beginartifact">beginArtifact</a>/<a href="wijmo_pdf.pdfpagearea.html#endartifact">endArtifact</a> block.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdfartifactoptions.html" class="tsd-signature-type">IPdfArtifactOptions</a></h5>
												<div class="tsd-comment">
													<p>Artifact options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="../interfaces/wijmo_pdf.ipdftagcontent.html">IPdfTagContent</a> object that repesents a reference to the marked content.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="beginartifact" class="tsd-anchor"></a>
								<h3>beginArtifact</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">begin<wbr>Artifact<span class="tsd-signature-symbol">(</span>options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdfartifactoptions.html" class="tsd-signature-type">IPdfArtifactOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Begins marking content as an PDF artifact.
												Each call of beginArtifact() should be enclosed with <a href="wijmo_pdf.pdfpagearea.html#endartifact">endArtifact</a>.</p>
											</div>
											<p>For example:</p>
											<pre>doc.beginArtifact();
doc.drawText('Artifact');
doc.endArtifact();
</pre>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdfartifactoptions.html" class="tsd-signature-type">IPdfArtifactOptions</a></h5>
												<div class="tsd-comment">
													<p>Artifact options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="begintagcontent" class="tsd-anchor"></a>
								<h3>beginTagContent</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">begin<wbr>Tag<wbr>Content<span class="tsd-signature-symbol">(</span>tag<span class="tsd-signature-symbol">: </span><a href="../enums/wijmo_pdf.pdftagtype.html" class="tsd-signature-type">PdfTagType</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdftagcontentoptions.html" class="tsd-signature-type">IPdfTagContentOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/wijmo_pdf.ipdftagcontent.html" class="tsd-signature-type">IPdfTagContent</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Begins marking the content with the given tag and returns the tag content element, an object which represent a reference to the marked content.
													The tag content element can be incorporated into the document's structure tree by adding to a tag element.
												Each call of beginTagContent() should be enclosed with <a href="wijmo_pdf.pdfpagearea.html#endtagcontent">endTagContent</a>.</p>
											</div>
											<p>For example:</p>
											<pre>let content = doc.beginTagContent(wijmo.pdf.PdfTagType.P);
doc.drawText('Hello, world!');
doc.endTagContent();

let tag = doc.tag(wijmo.pdf.PdfTagType.P);
tag.add(content);
doc.addTag(tag);
</pre>
											<p>Note: Marking tag content will automatically end current marking of tag content (and any descendent marking).</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>tag: <a href="../enums/wijmo_pdf.pdftagtype.html" class="tsd-signature-type">PdfTagType</a></h5>
												<div class="tsd-comment">
													<p>The marking tag.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdftagcontentoptions.html" class="tsd-signature-type">IPdfTagContentOptions</a></h5>
												<div class="tsd-comment">
													<p>Tag content options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/wijmo_pdf.ipdftagcontent.html" class="tsd-signature-type">IPdfTagContent</a></h4>
										<p>The <a href="../interfaces/wijmo_pdf.ipdftagcontent.html">IPdfTagContent</a> object that repesents a reference to the marked content.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="drawimage" class="tsd-anchor"></a>
								<h3>drawImage</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">draw<wbr>Image<span class="tsd-signature-symbol">(</span>src<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/wijmo_pdf.ipdfimage.html" class="tsd-signature-type">IPdfImage</a>, x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdfimagedrawsettings.html" class="tsd-signature-type">IPdfImageDrawSettings</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws an image in JPG or PNG format with the given options.</p>
											</div>
											<p>If x and y are not defined, then <a href="wijmo_pdf.pdfpagearea.html#x">x</a> and <a href="wijmo_pdf.pdfpagearea.html#y">y</a> are used instead.</p>
											<p>Finally, if the image was drawn in the text flow, the method updates <a href="wijmo_pdf.pdfpagearea.html#y">y</a>.
											Hence, any subsequent text or image starts below this point.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>src: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/wijmo_pdf.ipdfimage.html" class="tsd-signature-type">IPdfImage</a></h5>
												<div class="tsd-comment">
													<p>A string containing the URL to get the image from, or the data URI containing a base64 encoded image,
													or a <a href="../interfaces/wijmo_pdf.ipdfimage.html">wijmo.pdf.IPdfImage</a> object returned by the <a href="wijmo_pdf.pdfpagearea.html#openimage">openImage</a> method.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The x-coordinate of the point to draw the image at, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The y-coordinate of the point to draw the image at, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdfimagedrawsettings.html" class="tsd-signature-type">IPdfImageDrawSettings</a></h5>
												<div class="tsd-comment">
													<p>Determines the image drawing options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="drawsvg" class="tsd-anchor"></a>
								<h3>drawSvg</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">draw<wbr>Svg<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdfsvgdrawsettings.html" class="tsd-signature-type">IPdfSvgDrawSettings</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a SVG image with the given options.</p>
											</div>
											<p>If x and y are not defined, then <a href="wijmo_pdf.pdfpagearea.html#x">x</a> and <a href="wijmo_pdf.pdfpagearea.html#y">y</a> 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 <a href="wijmo_pdf.pdfpagearea.html#y">y</a>.
												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 <a href="wijmo_pdf.pdfpagearea.html#y">y</a> 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>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>url: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>A string containing the URL to get the SVG image from or the data URI containing a base64 encoded SVG image.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The x-coordinate of the point to draw the image at, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The y-coordinate of the point to draw the image at, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdfsvgdrawsettings.html" class="tsd-signature-type">IPdfSvgDrawSettings</a></h5>
												<div class="tsd-comment">
													<p>Determines the SVG image drawing options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="drawtext" class="tsd-anchor"></a>
								<h3>drawText</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">draw<wbr>Text<span class="tsd-signature-symbol">(</span>text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, x<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdftextdrawsettings.html" class="tsd-signature-type">IPdfTextDrawSettings</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/wijmo_pdf.ipdftextmeasurementinfo.html" class="tsd-signature-type">IPdfTextMeasurementInfo</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Draws a string with the given options and returns the measurement information.</p>
											</div>
											<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="wijmo_pdf.pdfdocument.html#setpen">PdfDocument.setPen</a>,
											<a href="wijmo_pdf.pdfdocument.html#setbrush">PdfDocument.setBrush</a>, and  <a href="wijmo_pdf.pdfdocument.html#setfont">PdfDocument.setFont</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="wijmo_pdf.pdfdocument.html#x">PdfDocument.x</a> and <a href="wijmo_pdf.pdfdocument.html#y">PdfDocument.y</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="wijmo_pdf.pdfdocument.html#x">PdfDocument.x</a> and <a href="wijmo_pdf.pdfdocument.html#y">PdfDocument.y</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>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>text: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>The text to draw.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The X-coordinate of the point to draw the text at, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The Y-coordinate of the point to draw the text at, in points.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdftextdrawsettings.html" class="tsd-signature-type">IPdfTextDrawSettings</a></h5>
												<div class="tsd-comment">
													<p>Determines the text drawing options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/wijmo_pdf.ipdftextmeasurementinfo.html" class="tsd-signature-type">IPdfTextMeasurementInfo</a></h4>
										<p>A <a href="../interfaces/wijmo_pdf.ipdftextmeasurementinfo.html">IPdfTextMeasurementInfo</a> object determines the measurement information.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="endartifact" class="tsd-anchor"></a>
								<h3>endArtifact</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">end<wbr>Artifact<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Ends marking content as an PDF artifact.</p>
											</div>
											<p>For example:</p>
											<pre>doc.beginArtifact();
doc.drawText('Artifact');
doc.endArtifact();
</pre>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="endtagcontent" class="tsd-anchor"></a>
								<h3>endTagContent</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">end<wbr>Tag<wbr>Content<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Ends the tag content marking.</p>
											</div>
											<p>For example:</p>
											<pre>let content = doc.beginTagContent(wijmo.pdf.PdfTagType.P);
doc.drawText('Hello, world!');
doc.endTagContent();
</pre>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="lineheight" class="tsd-anchor"></a>
								<h3>lineHeight</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">line<wbr>Height<span class="tsd-signature-symbol">(</span>font<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Gets the line height with a given font.</p>
											</div>
											<p>If font is not specified, then font used in the current document is used.</p>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> font: <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></h5>
												<div class="tsd-comment">
													<p>Font to get the line height.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
										<p>The line height, in points.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="measuretext" class="tsd-anchor"></a>
								<h3>measureText</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">measure<wbr>Text<span class="tsd-signature-symbol">(</span>text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, font<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdftextmeasurementsettings.html" class="tsd-signature-type">IPdfTextMeasurementSettings</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/wijmo_pdf.ipdftextmeasurementinfo.html" class="tsd-signature-type">IPdfTextMeasurementInfo</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Measures a text with the given font and text drawing options without rendering it.</p>
											</div>
											<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="wijmo_pdf.pdfpagearea.html#drawtext">drawText</a>, so it is tied up
												in the same way to <a href="wijmo_pdf.pdfpagearea.html#x">x</a> 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>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>text: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>Text to measure.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> font: <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></h5>
												<div class="tsd-comment">
													<p>Font to be applied on the text.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdftextmeasurementsettings.html" class="tsd-signature-type">IPdfTextMeasurementSettings</a></h5>
												<div class="tsd-comment">
													<p>Determines the text drawing options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/wijmo_pdf.ipdftextmeasurementinfo.html" class="tsd-signature-type">IPdfTextMeasurementInfo</a></h4>
										<p>A <a href="../interfaces/wijmo_pdf.ipdftextmeasurementinfo.html">IPdfTextMeasurementInfo</a> object determines the measurement information.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="movedown" class="tsd-anchor"></a>
								<h3>moveDown</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">move<wbr>Down<span class="tsd-signature-symbol">(</span>lines<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, font<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Moves down the <a href="wijmo_pdf.pdfpagearea.html#y">y</a> by a given number of lines using the given font or,
												using the font of current document, if not specified.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> lines: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Number of lines to move down.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> font: <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></h5>
												<div class="tsd-comment">
													<p>Font to calculate the line height.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="moveup" class="tsd-anchor"></a>
								<h3>moveUp</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">move<wbr>Up<span class="tsd-signature-symbol">(</span>lines<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, font<span class="tsd-signature-symbol">?: </span><a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Moves up the <a href="wijmo_pdf.pdfpagearea.html#y">y</a> by a given number of lines using the given font or,
												using the font of current document, if not specified.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> lines: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Number of lines to move up.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> font: <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></h5>
												<div class="tsd-comment">
													<p>Font to calculate the line height.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="openimage" class="tsd-anchor"></a>
								<h3>openImage</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">open<wbr>Image<span class="tsd-signature-symbol">(</span>url<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/wijmo_pdf.ipdfimage.html" class="tsd-signature-type">IPdfImage</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Opens an image in JPG or PNG format.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>url: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<p>A string containing the URL to get the image from or the data URI containing a base64 encoded image.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/wijmo_pdf.ipdfimage.html" class="tsd-signature-type">IPdfImage</a></h4>
										<p>The <a href="../interfaces/wijmo_pdf.ipdfimage.html">IPdfImage</a> object containing image data.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="rotate" class="tsd-anchor"></a>
								<h3>rotate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">rotate<span class="tsd-signature-symbol">(</span>angle<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, origin<span class="tsd-signature-symbol">?: </span><a href="wijmo.point.html" class="tsd-signature-type">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Rotates the graphic context clockwise by a specified angle.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>angle: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The rotation angle, in degrees.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> origin: <a href="wijmo.point.html" class="tsd-signature-type">Point</a></h5>
												<div class="tsd-comment">
													<p>The <a href="wijmo.point.html">Point</a> of rotation, in points. If it is not provided,
													then the top left corner is used.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="scale" class="tsd-anchor"></a>
								<h3>scale</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">scale<span class="tsd-signature-symbol">(</span>xFactor<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, yFactor<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, origin<span class="tsd-signature-symbol">?: </span><a href="wijmo.point.html" class="tsd-signature-type">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Scales the graphic context by a specified scaling factor.</p>
											</div>
											<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>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>xFactor: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The factor to scale the X dimension.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> yFactor: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The factor to scale the Y dimension. If it is not provided, it is
													assumed to be equal to xFactor.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> origin: <a href="wijmo.point.html" class="tsd-signature-type">Point</a></h5>
												<div class="tsd-comment">
													<p>The <a href="wijmo.point.html">Point</a> to scale around, in points. If it is not provided,
													then the top left corner is used.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="tagcontent" class="tsd-anchor"></a>
								<h3>tagContent</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">tag<wbr>Content<span class="tsd-signature-symbol">(</span>tag<span class="tsd-signature-symbol">: </span><a href="../enums/wijmo_pdf.pdftagtype.html" class="tsd-signature-type">PdfTagType</a>, callback<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Object</span>, options<span class="tsd-signature-symbol">?: </span><a href="../interfaces/wijmo_pdf.ipdftagcontentoptions.html" class="tsd-signature-type">IPdfTagContentOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/wijmo_pdf.ipdftagcontent.html" class="tsd-signature-type">IPdfTagContent</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Marks content with the given tag and returns the tag content element, an object which represent a reference to the marked content.
												The tag content element can be incorporated into the document's structure tree by adding to a tag element.</p>
											</div>
											<p>For example:</p>
											<pre>let content = doc.tagContent(wijmo.pdf.PdfTagType.P, () =&gt; doc.drawText('Hello, world!'));

let tag = doc.tag(wijmo.pdf.PdfTagType.P);
tag.add(content);
doc.addTag(tag);
</pre>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>tag: <a href="../enums/wijmo_pdf.pdftagtype.html" class="tsd-signature-type">PdfTagType</a></h5>
												<div class="tsd-comment">
													<p>The marking tag.</p>
												</div>
											</li>
											<li>
												<h5>callback: <span class="tsd-signature-type">Object</span></h5>
												<div class="tsd-comment">
													<p>A callback function that will be automatically executed within a <a href="wijmo_pdf.pdfpagearea.html#begintagcontent">beginTagContent</a>/<a href="wijmo_pdf.pdfpagearea.html#endtagcontent">endTagContent</a> block.</p>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="../interfaces/wijmo_pdf.ipdftagcontentoptions.html" class="tsd-signature-type">IPdfTagContentOptions</a></h5>
												<div class="tsd-comment">
													<p>Tag content options.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="../interfaces/wijmo_pdf.ipdftagcontent.html" class="tsd-signature-type">IPdfTagContent</a></h4>
										<p>The <a href="../interfaces/wijmo_pdf.ipdftagcontent.html">IPdfTagContent</a> object that repesents a reference to the marked content.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="transform" class="tsd-anchor"></a>
								<h3>transform</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">transform<span class="tsd-signature-symbol">(</span>a<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, b<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, c<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, d<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, f<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Transforms the graphic context with given six numbers which represents a
												3x3 transformation matrix.</p>
											</div>
											<p>A transformation matrix is written as follows:</p>
											<table>
												<tbody><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>
											</tbody></table>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>a: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Value of the first row and first column.</p>
												</div>
											</li>
											<li>
												<h5>b: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Value of the first row and second column.</p>
												</div>
											</li>
											<li>
												<h5>c: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Value of the second row and first column.</p>
												</div>
											</li>
											<li>
												<h5>d: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Value of the second row and second column.</p>
												</div>
											</li>
											<li>
												<h5>e: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Value of the third row and first column.</p>
												</div>
											</li>
											<li>
												<h5>f: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>Value of the third row and second column.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="translate" class="tsd-anchor"></a>
								<h3>translate</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">translate<span class="tsd-signature-symbol">(</span>x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Translates the graphic context with a given distance.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>x: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The distance to translate along the X-axis, in points.</p>
												</div>
											</li>
											<li>
												<h5>y: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<p>The distance to translate along the Y-axis, in points.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdfpagearea.html" class="tsd-signature-type">PdfPageArea</a></h4>
										<p>The <a href="wijmo_pdf.pdfpagearea.html">PdfPageArea</a> object.</p>
									</li>
								</ul>
							</section>
						</section>
					</div>