Select to view content in your preferred language

Printing a Geometry without saving it to a FeatureClass

551
1
03-03-2020 12:37 PM
serbanmarin1
Emerging Contributor

When I add a geometry to a scene using MapView.AddOverlay(), the geometry will not show up when I try to print a layout of this scene. I assume that due to the technical nature of a GraphicOverlay.

So far, the only way I've been able to print geometries is to save them to a FeatureClass and add a corresponding layer to the scene.

Are there any alternative ways I can print a geometry in ArcGIS Pro SDK, without saving the geometry to a FeatureClass ?

Tags (1)
0 Kudos
1 Reply
CharlesMacleod
Esri Regular Contributor

Overlays are not persisted which is why you cannot print (or export) them. At 2.6 there will be the concept of a graphics layer. Graphics you add to a graphics layer will be persistable (and so can be printed).