Select to view content in your preferred language

Looking for an equivalent to ArcObjects ISymbol.ROP2

190
2
a month ago
TimSexton1
Frequent Contributor

We are displaying some temporary overlay graphics in the map view in ArcGIS Pro and we were wondering if the ArcGIS Pro SDK has an equivalent object or behavior to the ArcObjects ISymbol.ROP2 property.  This property is an Enum of esriRasterOpCode constants that helps control the draw mode of the graphics in reference to other graphics and features displayed in the map.  Does something like this exist in the ArcGIS Pro SDK?

2 Replies
CharlesMacleod
Esri Regular Contributor

Hi tim, i spoke to development about this as it is not something i am intimately familiar with.  Accordingly, the original interface was based on interaction of the AO symbol model and GDI. Pro's display pipeline, as such, is quite different. That said, CIMGraphic does have a BlendingMode property which may cover the cases u were using depending on the opcode: https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic1910.html

-But- the blending mode u specified would only be honored per graphic within the overlay layer. The overlay layer itself in Pro is hardcoded to alpha blending. Likely the interaction between the overlay and other layers may not be as expected so your mileage will vary.

0 Kudos
TimSexton1
Frequent Contributor

Thank you Charles for that clarification.  We will look into this to see if we can leverage the blending mode for our purpose in the Pro SDK.

0 Kudos