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