<doc>
	<legacy_id>1453</legacy_id>
	<name>fontStyles</name>
	<type>function</type>

	<syntax>
		<example>fontStyles (<i>fontName</i>, <i>fontSize</i>)</example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary><glossary tag="return">Returns</glossary> a list of styles available for a <glossary tag="font">font</glossary> and size.</summary>

	<examples>
<example>fontStyles (&quot;Helvetica&quot;, 9)</example>
<example>fontStyles (thisFont, 0)</example>
	</examples>

	<history>
		<introduced version="1.0">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="4.5.3">Added Support for iOS.</changed>
	</history>

	<objects>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<desktop/>
		<server/>
		<web/>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Appearance &amp; Positioning</category>
	</classification>

	<references>
		<function tag="fontNames">fontNames Function</function>
		<function tag="fontSizes">fontSizes Function</function>
		<property tag="printTextStyle">printTextStyle Property</property>
		<property tag="textStyle">textStyle Property</property>
	</references>

	<description>
	<overview>Use the <b>fontStyles</b> function to determine which font styles can be displayed or printed.</overview>

		<parameters>
  <parameter>
    <name>fontName</name>
    <description>The name of a font that is installed on the system.</description>
  </parameter>
  <parameter>
    <name>fontSize</name>
    <description>A point size that exists for the font.</description>
  </parameter>
		</parameters>

	<value>The <b>fontStyles</b> <control_st tag="function">function</control_st> <glossary tag="return">returns</glossary> a list of available styles, one per line.</value>
	<comments>If you specify a <i>fontSize</i> of zero, the styles <glossary tag="return">returned</glossary> are the ones that are scalable for the specified font.<p>The font styles are returned in a return delimited list, such as the following one:</p><p></p><p>    plain</p><p>    bold</p><p>    italic</p><p>    bold-italic</p></comments>
	</description>
</doc>