.. index:: pair: struct; EE::UI::UIHorizontalAlignmentHelper .. _doxid-struct_e_e_1_1_u_i_1_1_u_i_horizontal_alignment_helper: struct EE::UI::UIHorizontalAlignmentHelper ========================================== .. toctree:: :hidden: Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include struct UIHorizontalAlignmentHelper { // methods static bool :ref:`fromString`(std::string_view str, :ref:`UIHorizontalAlignment`& alignment); static std::string :target:`toString`(:ref:`UIHorizontalAlignment` alignment); }; .. _details-struct_e_e_1_1_u_i_1_1_u_i_horizontal_alignment_helper: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Methods ------- .. index:: pair: function; fromString .. _doxid-struct_e_e_1_1_u_i_1_1_u_i_horizontal_alignment_helper_1a5adf67e29520bab09b1f4aeba6c397ea: .. ref-code-block:: cpp :class: doxyrest-title-code-block static bool fromString(std::string_view str, :ref:`UIHorizontalAlignment`& alignment) Parses "left", "right", "center", "center_horizontal", "start" and "end". .. rubric:: Returns: False if the value is not a horizontal alignment keyword.