Picture of Invent Logic | Field Actions | Set Font and Font Formatting | IV_Logic_020

Invent Logic | Field Actions | Set Font and Font Formatting | IV_Logic_020

In this segment, we explore the combined functionality of setting font attributes within an if-statement in Invent. You can change the font, font size, and font color dynamically based on conditions. This involves creating multiple actions for a single field, allowing detailed customization. You can choose fonts from a predefined resource set or variables, and specify font color and size using variables or manual settings, offering flexibility and precision in formatting text elements.

Tutorial Video Transcript

A transcript of our tutorial video, ensuring you can find exactly what you need, when you need it.

You can search this page to find the relevant time-stamp in the video. Also, this text can be used as part of the tutorial search feature.

00:00:05:25 - 00:00:06:06
Now I've

00:00:06:06 - 00:00:09:10
bunched a couple of things together
in one for this next one.

00:00:09:28 - 00:00:14:14
so we do have the ability to set the font
and some associated font

00:00:14:28 - 00:00:16:18
formatting values as well.

00:00:16:18 - 00:00:20:23
So we can do font size and we can do
font color as part of the if statements.

00:00:21:11 - 00:00:23:17
So as part of the example
you can see there I've got one

00:00:23:17 - 00:00:26:17
which changes the size, changes
the color and changes the font.

00:00:28:17 - 00:00:31:17
Specification again is super simple.

00:00:34:03 - 00:00:37:02
So as we're changing multiple things

00:00:37:02 - 00:00:40:25
this is a little bit more of a complex
if statement which has multiple actions.

00:00:41:14 - 00:00:44:04
So I've got three actions present

00:00:44:04 - 00:00:46:16
all with all operating on the same field.

00:00:46:16 - 00:00:49:10
So you can have multiple actions
operating on the same field.

00:00:49:10 - 00:00:51:03
You're not limited to one on one field.

00:00:52:02 - 00:00:52:19
One of them is

00:00:52:19 - 00:00:55:26
setting the font one
the font color and one the font size.

00:00:56:20 - 00:00:57:19
For setting the font,

00:00:57:19 - 00:01:00:25
we have the ability to choose
between a font resource set,

00:01:00:25 - 00:01:03:11
which is again
another option where we can predefine

00:01:03:11 - 00:01:06:11
loads of different fonts
we want available in our product,

00:01:06:15 - 00:01:09:15
and then we can choose from that
available resource.

00:01:09:15 - 00:01:13:01
Alternatively,
if we've got a variable created

00:01:13:02 - 00:01:16:14
which is linked to a font resource set,
we can define

00:01:16:14 - 00:01:19:14
it based on based on a variable as well.

00:01:23:05 - 00:01:23:25
Font color.

00:01:23:25 - 00:01:27:10
You get the same set of options
that you had available for the background

00:01:27:10 - 00:01:28:15
color selection.

00:01:28:15 - 00:01:33:05
So you can drive it based on variable
resource or manually specify a colour.

00:01:33:05 - 00:01:36:05
You can choose as RGB or Cmyk.

00:01:37:08 - 00:01:38:25
And then we've got set font size.

00:01:38:25 - 00:01:40:26
Or again we can drive it from a variable.

00:01:40:26 - 00:01:44:20
So if you've got a number variable
which is controlling your font size

00:01:44:20 - 00:01:46:01
you can do it that way.

00:01:46:01 - 00:01:48:16
Or you can specify a specific value.

 

Incomplete
Guide unavailable