Get Component Base64

The GetComponentBase64 action is an action used to get the Base64 value of the content of a specific element in a web application.

For example, you can use GetComponentBase64 to get the Base64 value of an on-screen table or chart element in an application and use that Base64 value to define a parameter for another action.

To add a system action to GetComponentBase64, select the element to add the action to. Click +Add Action under the Properties panel. (A)

OnClick --> Device --> Click GetComponentBase64 and add the GetComponentBase64 action.(A)

The added GetComponent Base64 action comes with the parameters Component to Save as PDF, Quality, and Orientation.

  1. Component to Save as PDF:

This parameter allows you to select the element to get the Base64 value.

  1. Quality:

This parameter specifies the quality level to be used during the conversion to Base64.

There are options such as Low, Normal, Medium, High, and Extreme in the quality levels drop-down menu.

  • Low:

Applies low-quality compression.

This may result in smaller file sizes but may reduce visual quality.

  • Normal:

Applies standard quality compression.

Provides balance, reasonable file size, and acceptable visual quality.

It is the preferred overall quality option in most cases.

  • Medium:

Applies medium quality and compression.

It may offer a slightly better visual quality than normal, but the file size may be slightly larger.

  • High:

Applies high-quality compression.

Provides better visual quality, but the file size usually increases.

It is particularly suitable for high-resolution images or when print quality is required.

  • Extreme:

Applies the highest quality compression.

Aims to maximize visual quality, but the file size will usually be larger.

It is especially suitable for special cases that require print quality and high resolution.

  1. Orientation:

This optional parameter allows you to create the output landscape or portrait.

To fill in the parameters within the created action, click on the Symbol Picker (B)

You can perform various operations on the Context menu (C) for the actions you create.

You can easily copy the action with the Copy option. This way, you gain speed where action repetition is required.

You can add a confirmation message for the action to run using the Add Confirmation option.

Also, with the Add Condition feature, you can specify certain conditions under which the added action should execute.

You can easily delete the action created with the Remove option.

Last updated