Hi everyone,
I know something similar has been asked before, but I’m unable to disable metadata overlays in my specific scenario and could use some guidance.
What I’m trying to do: I’m building a custom display UI based on the SCIndependentPlayback sample that shows multiple video feeds in a single cell (1x2 vertical layout).
My implementation:
- Creating new ImageViewerWpfControl instances programmatically
- Setting the CameraFQID property
- Adding controls to a WPF Grid
- Video feeds display correctly
The problem: Despite subscribing to NewImageViewerControlEvent and setting ShowMetadataOverlay = false early in my plugin’s lifecycle, the ImageViewerWpfControl instances still show metadata overlays/bounding boxes.
What I’ve tried:
- Setting ShowMetadataOverlay = false in the NewImageViewerControlEvent handler
- Confirmed the event fires and the property is being set
Question: Is there something specific about programmatically created ImageViewerWpfControl instances that prevents ShowMetadataOverlay from working? Or is there an additional step required when not using the standard ViewItem pattern?
Any help would be appreciated!