예제 #1
0
        /// <summary>
        /// Renders the specified Visual tree to the BitmapRenderTarget.
        /// </summary>
        public void Render(Visual visual)
        {
            BitmapVisualManager bmv = new BitmapVisualManager(this);

            bmv.Render(visual); // Render indirectly calls RenderTargetContentsChanged();
        }
예제 #2
0
 /// <summary>
 /// Renders the specified Visual tree to the BitmapRenderTarget.
 /// </summary>
 public void Render(Visual visual) 
 {
     BitmapVisualManager bmv = new BitmapVisualManager(this); 
     bmv.Render(visual); // Render indirectly calls RenderTargetContentsChanged(); 
 }