2.14.8 themeApply2g

Brief Information

Apply theme to graph(s)

Command Line Usage

1. themeApply2g theme:= "Night Sky";

2. themeApply2g theme:= "Night Sky" option:=open;

3: themeApply2g theme:= "Night Sky" option:=specified graphs:=Graph1;

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Theme theme

Input

string

<unassigned>

This variable specific the name of the theme that is used to apply to a graph.

Option option

Input

int

page

Options

Option list

  • Page:Active Page
    Apply to current Graph
  • folder:All in Active Folder
    Apply to all graphs in the active Folder.
  • recursive:All in Active Foloder (Recursive)
    Apply to all graphs in the active Folder and its subfolder.
  • open:All in Active Folder (Open)
    Apply to all opened graphs in the active Folder.
  • embed:All in Active Folder (Include Embedded)
    Apply to all graphs in the active Folder (including the Embedded graphs).
  • project:All in Project
    Apply to all graphs in the current project.
  • specified:Specified
    Manually define which graphs to be applied.
Graphs graphs

Input

string

<unassigned>

Specify the graphs that will be applied theme. This variable is used only if option:=6

Description

This X-Function is used to apply the theme on a graph and some graphs.

Examples

The following example shows how to use the X-Function themeApply2g:

1. New a graph

2. Type themeApply2g -d in the command line window.

3. Select Night Sky under theme combo box.

4. Select all in project under option combo box.

5. Click OK to see the change.

Related X-Functions

themeEdit, themeApply2w