Click or drag to resize
AB4D logo

BitmapRenderingRenderToBitmap Method

Overload List
 NameDescription
Public methodStatic memberRenderToBitmap(FrameworkElement, Brush, Int32, RenderTargetBitmap) Renders FrameworkElement specified with objectToRender to bitmap with specified backgroundBrush and dpi. The size of the created bitmap is the same as the size of the objectToRender.
Public methodStatic memberRenderToBitmap(FrameworkElement, Int32, Int32, Boolean, Int32, Brush, Int32, RenderTargetBitmap) Renders FrameworkElement specified with objectToRender to bitmap. It is possible to specify custom bitmap width and height (when customWidth and customHeight are bigger than 0). When antialiasingLevel is bigger than 1, the bitmap is rendered into bigger image and than scaled down to create an antialiasing effect.
Top
See Also