Click or drag to resize
AB4D logo

BitmapRendering Class

BitmapRendering class contains static methods that can render any FrameworkElement to bitmap.
Inheritance Hierarchy
SystemObject
  Ab3d.UtilitiesBitmapRendering

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public class BitmapRendering

The BitmapRendering type exposes the following members.

Constructors
 NameDescription
Public methodBitmapRenderingInitializes a new instance of the BitmapRendering class
Top
Methods
 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