# PdfFont Class

## Content

<div class="content__tsd">
						<div style="display:flex;justify-content:space-between;align-items:center">
							<h1>
								PdfFont Class
							</h1>
						</div>
						<section class="tsd-comment">
							<div class="tsd-comment">
								<div class="lead">
									<p>Represents a font.</p>
								</div>
							</div>
						</section>
						<section class="tsd-hierarchy">
							<h3>Heirarchy</h3>
							<ul class="tsd-hierarchy">
								<li>
									<span class="target">PdfFont</span>
								</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.pdffont.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.pdffont.html#family" class="tsd-kind-icon">family</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdffont.html#size" class="tsd-kind-icon">size</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdffont.html#style" class="tsd-kind-icon">style</a></li>
											<li class="tsd-kind-property tsd-parent-kind-class"><a href="wijmo_pdf.pdffont.html#weight" class="tsd-kind-icon">weight</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.pdffont.html#clone" class="tsd-kind-icon">clone</a></li>
											<li class="tsd-kind-method tsd-parent-kind-class"><a href="wijmo_pdf.pdffont.html#equals" class="tsd-kind-icon">equals</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>Font<span class="tsd-signature-symbol">(</span>family<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, size<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span>, style<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span>, weight<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="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</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.pdffont.html">PdfFont</a> class.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> family: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The family name of the font.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> size: <span class="tsd-signature-type">number</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The size of the font.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> style: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The style of the font.</p>
													</div>
												</div>
											</li>
											<li>
												<h5><span class="tsd-flag ts-flagOptional">Optional</span> weight: <span class="tsd-signature-type">string</span></h5>
												<div class="tsd-comment">
													<div class="lead">
														<p>The weight of the font.</p>
													</div>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</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="family" class="tsd-anchor"></a>
								<h3>family</h3>
								<div class="tsd-signature tsd-kind-icon">family<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the family name of the font.</p>
									</div>
									<p>The list of the font family names in the order of preferences,
										separated by commas. Each font family name can be the one that
										was registered using the <a href="wijmo_pdf.pdfdocument.html#registerfont">PdfDocument.registerFont</a> method or
										the name of one of the PDF standard font families: 'courier',
										'helvetica', 'symbol', 'times', 'zapfdingbats' or the superfamily
									name: 'cursive', 'fantasy', 'monospace', 'serif', 'sans-serif'.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="size" class="tsd-anchor"></a>
								<h3>size</h3>
								<div class="tsd-signature tsd-kind-icon">size<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 size of the font.</p>
									</div>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="style" class="tsd-anchor"></a>
								<h3>style</h3>
								<div class="tsd-signature tsd-kind-icon">style<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the style of the font.</p>
									</div>
									<p>The following values are supported: 'normal', 'italic', 'oblique'.</p>
								</div>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class">
								<a name="weight" class="tsd-anchor"></a>
								<h3>weight</h3>
								<div class="tsd-signature tsd-kind-icon">weight<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
								<aside class="tsd-sources">
								</aside>
								<div class="tsd-comment">
									<div class="lead">
										<p>Gets or sets the weight of the font.</p>
									</div>
									<p>The following values are supported: 'normal', 'bold', '100', '200', '300',
									'400', '500', '600', '700', '800', '900'.</p>
								</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="clone" class="tsd-anchor"></a>
								<h3>clone</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">clone<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Creates a copy of this <a href="wijmo_pdf.pdffont.html">PdfFont</a>.</p>
											</div>
										</div>
										<h4 class="tsd-returns-title">Returns <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></h4>
										<p>A copy of this font.</p>
									</li>
								</ul>
							</section>
							<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
								<a name="equals" class="tsd-anchor"></a>
								<h3>equals</h3>
								<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
									<li class="tsd-signature tsd-kind-icon">equals<span class="tsd-signature-symbol">(</span>value<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">boolean</span></li>
								</ul>
								<ul class="tsd-descriptions">
									<li class="tsd-description">
										<aside class="tsd-sources">
										</aside>
										<div class="tsd-comment">
											<div class="lead">
												<p>Determines whether the specified <a href="wijmo_pdf.pdffont.html">PdfFont</a> instance is equal to the current one.</p>
											</div>
										</div>
										<h4 class="tsd-parameters-title">Parameters</h4>
										<ul class="tsd-parameters">
											<li>
												<h5>value: <a href="wijmo_pdf.pdffont.html" class="tsd-signature-type">PdfFont</a></h5>
												<div class="tsd-comment">
													<p><a href="wijmo_pdf.pdffont.html">PdfFont</a> to compare.</p>
												</div>
											</li>
										</ul>
										<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
										<p>true if the specified object is equal to the current one, otherwise false.</p>
									</li>
								</ul>
							</section>
						</section>
					</div>