|
BaseCameraRenderToBitmap(Brush, Int32) Method |
Renders TargetViewport3D to bitmap with specified backgroundBrush and dpi.
The size of the created bitmap is the same as the size of the TargetViewport3D.
Namespace: Ab3d.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.2.9104.2045
Syntax public RenderTargetBitmap RenderToBitmap(
Brush backgroundBrush = null,
int dpi = 96
)
Parameters
- backgroundBrush Brush (Optional)
- brush used for background or null to have no background. Default value is null.
- dpi Int32 (Optional)
- DPI setting for the rendered bitmap. Default value is 96
Return Value
RenderTargetBitmapRenderTargetBitmap
See Also