Get Text Alignment


Description

This action will get the font alignment for all current draw text actions. You can choose whether to retrieve the horizontal or vertical alignment to check, and the action will return one of the following constant values, that represent a different type of horizontal or vertical alignment:

Left Align Text is horizontally aligned to the left
Center Align Text is horizontally aligned to the center
Right Align Text is horizontally aligned to the right
Top Align Text is vertically aligned to the top
Middle Align Text is vertically aligned to the middle
Bottom Align Text is vertically aligned to the bottom


Action Syntax:

Get Text Alignment Syntax


Example:

Get Text Alignment Example
The above action block code checks the horizontal text alignment and if it's not set to fa_left, then it is set to that value..