We are using yFiles WPF to render and export diagrams.
When exporting small or medium-sized diagrams, the export works correctly.
However, when exporting very large diagrams, we encounter a
System.AccessViolationException (HResult: 0x80004003).
The issue appears during bitmap-based export (e.g., PNG).
In the failing cases, the resulting bitmap size exceeds approximately
700 million pixels.
There is no managed stack trace available for the exception.
The problem does not occur with smaller diagrams and seems to be related
to the size of the generated bitmap.
We suspect this may be caused by bitmap or rendering limitations
(e.g., GDI+/WPF limits on bitmap dimensions or memory usage).
Questions:
- Is there a documented or recommended upper limit for bitmap-based export in yFiles WPF?
- Are there recommended approaches for exporting very large diagrams
(e.g., tiling, poster export, or vector-based export such as XPS/SVG)?
- Is this a known limitation or known issue in yFiles WPF?