FUNCTION check_text_alignment
(* SCHEMA Ap242_managed_model_based_3d_engineering_mim_LF; *)
FUNCTION check_text_alignment (ct : composite_text) : BOOLEAN;
LOCAL
a : SET OF text_alignment := [];
END_LOCAL;
-- create a set of all the alignments
REPEAT i := 1 TO HIINDEX (ct.collected_text);
a := a + [ct.collected_text[i]\text_literal.alignment];
END_REPEAT;
-- if there is more than one element in the set
-- then not all alignments were the same
RETURN (SIZEOF(a) = 1);
END_FUNCTION;
Referenced By
Defintion check_text_alignment is references by the following definitions:
[Top Level Definitions] [Exit]Generated by STEP Tools® EXPRESS to HTML Converter
2012-03-27T17:20:10-04:00