Ejemplo n.º 1
0
 public void Set(Window window, RenderMethod method = RenderMethod.Polling, int interval = 42)
 {
     Renderer = new WpfRenderer(this, window, method, interval);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Draws a WPF window to this <see cref="RenderTarget" />.
 /// </summary>
 /// <param name="window">Window object to draw.</param>
 /// <param name="winFormsComponents">Array of KeyValuePairs containing a WindowsFormsHost as the key and a WinForms control as the value.
 /// These pairs will be overlaid on the bitmap that is passed to the SwitchBlade device.</param>
 public void Draw(Window window, IEnumerable <EmbeddedWinFormsControl> winFormsComponents = null)
 {
     WpfRenderer.Draw(this, window, winFormsComponents);
 }