Form.GetSVGElementPosition Method
| Explanation | Gets the coordinates where the specified SVG element is displayed. The element you specify is an XmlElement object that will be part of the SVG you specified for the background in the BgPattern property. If you don't specify the BgPattern property, you can't specify an SVG element 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 GetSVGElementPosition method is called immediately after setting SVG in the BgPattern property or when SVG such as a hidden Form has never been displayed on the screen. The SVG elements to be processed are limited to the elements to be drawn such as Not supported in Mobile, AI Call format | ver pos = Form1.GetSVGElementPosition( elm ) | Return value | Record object with the following child objects |
If the coordinates cannot be obtained, null is returned. Arguments | XmlElement elm | XmlElement object to get coordinates | Exception | None | Example of use | Related item | BgPattern property | FindSVGElement method XmlElement class | ||||||||||||||||||||||