Jump to content

API Panel.Graphics.SetTextScale: Difference between revisions

From Flowcode Help
JonnyW (talk | contribs)
XML import
No edit summary
Line 1: Line 1:
<sidebar>API Contents</sidebar>
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
Sets the text scale for subsequent text objects
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
<div style="width:25%; float:right" class="toc">
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''SetTextScale'''
====Class hierarchy====
|-
[[API Panel|Panel]]
| colspan="2" | Sets the text scale for subsequent text objects&nbsp;
:[[API Panel.Graphics|Graphics]]
|-
::[[API Panel.Graphics|SetTextScale]]
|-
</div>
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
__TOC__
| width="90%" | X
 
|-
==Parameters==
| colspan="2" | The horizontal size in pixels to scale a text character to&nbsp;
[[Variable Types|FLOAT]] ''X''
|-
:The horizontal size in pixels to scale a text character to
| width="10%" align="center" | [[File:Fc9-f32-icon.png]] - FLOAT
 
| width="90%" | Y
[[Variable Types|FLOAT]] ''Y''
|-
:The vertical size in pixels to scale a text character to
| colspan="2" | The vertical size in pixels to scale a text character to&nbsp;
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-void-icon.png]] - NONE
==Return value==
| width="90%" style="border-top: 2px solid #000;" | ''Return''
''This call does not return a value''
|}





Revision as of 11:41, 16 January 2023

SetTextScale
Sets the text scale for subsequent text objects 
- FLOAT X
The horizontal size in pixels to scale a text character to 
- FLOAT Y
The vertical size in pixels to scale a text character to 
- NONE Return


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Graphics.SetTextScale(x, y)

No additional examples