Пример #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(); 
 }