2.5.25 laysetfont

Brief Information

Set layer Scale Elements to Fixed Factor of 1

Additional Information

Minimum Origin Version Required: 8.1 SR0

Command Line Usage

laysetfont option:=page;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Target option

Input

int

1
Specify in which layer the display scaling factor of text will be fixed to one.

Option list:

  • layer:Active Layer
    Only the active graph layer.
  • page:Active Page
    All the layers in the active graph layer.


Description

This X-Function is used to fix the display scaling factor of text in the layer(s) to one. Once used, the Fixed Factor will be fixed to one, and then the text in the layer(s) will always display as the original size even when the layer(s) is/are resized. It is available when a graph is active, and works for the active layer or all layers in the active graph page.