Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

How can I convert several hundred visuals into a single bitmap and then display that bitmap as a visual?

$
0
0

I am new to WPF programming so please be patient.  I wrote a WPF program that displays several hundred or more visuals in a Framework Element.  I am attempting to make a navigator.  The Four Arrows when clicked show a miniature copy of all the visuals with a small box representing the screen that can be dragged around to reposition everything (exactly like SQL Management's Relationship Editor Window).  The problem is redrawing all the visuals in miniature was too much overhead.  I tried a cached bitmap brush but the overhead was worse which made no sense (at least to me).  I need a way to convert all the individual visuals into a single bitmap, and then display that bitmap as a single visual (because it never changes) along with a second visual representing the current position of the screen (which does change).  I am at my wits end.  I have literally just been trying anything.  PLEASE HELP



Viewing all articles
Browse latest Browse all 18858

Trending Articles