fmeobjects.FMEGeometryTools.extractTextLocation¶
-
FMEGeometryTools.extractTextLocation(text)¶ This routine consumes the text passed in and returns the
IFMEGeometrythat was its location.Parameters: text (FMEText) – The text whose location to extract. Return type: FMEGeometry Returns: The geometry at the text’s location. Note: This method returns a terminal geometry type of the FMEGeometry; i.e. one of the leaf classes in theFMEGeometryinheritance graph. For example, aFMELineis returned if the geometry truly is a line.Raises: FMEException – An exception is raised if an error occurred.