<doc>
	<legacy_id></legacy_id>
	<name>scaleFactor</name>
	<type>property</type>

	<syntax>
		<example>set the scaleFactor of <i>stack</i> to <i>scale</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Determines the custom scale factor for a stack.</summary>

	<examples>
<example><p>-- scales the stack to half size</p><p>set the scaleFactor of stack "myLargeStack" to 0.5 </p></example>
<example><p>&mdash; Preview the stack appearance on a high-density display</p><p>set the scaleFactor of stack "myApp" to 1.5</p></example>
	</examples>

	<history>
		<introduced version="6.6">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
		<global/>
	</objects>

	<platforms>
		<mac/>
		<windows/>
		<linux/>
	</platforms>

	<classes>
		<desktop/>
	</classes>

	<security>
	</security>


	<classification>
		<category>Objects &amp; Messages</category>
		<category>Windows &amp; Dialog Boxes</category>
		<concept>display</concept>
	</classification>

	<references>
		<command tag="iphoneUseDeviceResolution">iphoneUseDeviceResolution Command</command>
		<property tag="systemPixelScale">systemPixelScale Property</property>
		<property tag="usePixelScaling">usePixelScaling Property</property>
	</references>

	<description>
	<overview>Use the <b>scaleFactor</b> property when developing to scale down stacks that are larger than the available screen space.</overview>

		<parameters>
<parameter>
    <name>stack</name>
    <description>A reference to a stack or an expression that evaluates to a stack.</description>
  </parameter>  
<parameter>
    <name>scale</name>
    <description>A non-zero real number value which represents the scale multiplier.</description>
  </parameter>		</parameters>

	<value>The <b>scaleFactor</b> property returns a a non-zero real number or empty.</value>
	<comments>We do not recommend setting the <b>scaleFactor</b> property above 2. The higher the value, the more pixels must be rendered. For example, setting the <b>scaleFactor</b> property to 10 will cause 100 times the number of pixels to be rendered causing the IDE to run slowly.</comments>
	</description>
</doc>