render As Bitmap
Renders the visual to a bitmap of the provided width and height.
Return
a Bitmap, or null if the render failed.
Parameters
width
the width of the bitmap to be generated
Content copied to clipboard
height
the height of the bitmap to be generated
Content copied to clipboard