C# Class SilverFlow.Controls.Helpers.BitmapHelper

Bitmap helper.
Inheritance: IBitmapHelper
ファイルを表示 Open project: Zoomicon/ZUI

Public Methods

Method Description
RenderVisual ( FrameworkElement element, double imageWidth, double imageHeight ) : System.Windows.Media.ImageSource

Renders the visual element and returns a bitmap, containing bitmap image of the element.

Method Details

RenderVisual() public method

Renders the visual element and returns a bitmap, containing bitmap image of the element.
public RenderVisual ( FrameworkElement element, double imageWidth, double imageHeight ) : System.Windows.Media.ImageSource
element System.Windows.FrameworkElement The visual element.
imageWidth double Image width.
imageHeight double Image height.
return System.Windows.Media.ImageSource