Form.FindSVGElement Method
| Explanation | Gets the SVG element displayed at the specified coordinates. The element to get is an XmlElement object that will be part of the SVG specified in the background in the BgPattern property. If the BgPattern property is not specified, it's impossible to get the element from an SVG that is different from the BgPattern property. Since the display coordinates of SVG are determined in the actual display process, correct results can't be obtained even if the FindSVGElement method is called immediately after setting SVG in the BgPattern property or when SVG is never displayed on the screen such as a hidden Form. The SVG elements to be searched are limited to the elements to be drawn such as For xPos and yPos , specify the coordinates withthe upper left of the Form(0,0). Not supported in Mobile, AI Call format | var elm = Form1.FindSVGElement( xPos, yPos ) | Return value | None | Arguments | integer xPos | X coordinate | integer yPos | Y coordinate | Exception | None | Example of use | Related item | BgPattern property | GetSVGElementPosition method XmlElement class | |||||||