Q: If you want to add geometry objects to the symbol library, how do you set the location of the object in the symbol library?

A: When you use the SymbolMarker.FromGeometry () method, the imported Rectangle2D parameter determines the symbol location. If the symbolBounds is set as the range of the whole symbol, then the geometry object scope (Bounds) will control the geometry objects position and scaling relation in the symbol. If you need to set the geometry object to fill the whole symbol, the symbolBounds can input the Bounds of geometry object.

03 Jul,2019

More iDesktop FAQ