|
DXViewRenderToBitmap(Int32, Int32, Int32, Double, Double) Method |
RenderToBitmap renders the 3D scene to bitmap with specified width, height, multi-sampling and super-sampling count and DPI.
See also other overrides of RenderToBitmap method:
RenderToBitmap,
RenderToBitmap(Int32, Int32, Int32, Int32, Boolean),
RenderToBitmap(Int32, Int32, Int32, Int32, Double, Double, Boolean),
RenderToBitmap(WriteableBitmap, Int32, Int32),
RenderToBitmap(DXViewRenderedBitmapReadyDelegate, Int32, Int32, Int32, Int32, Double, Double, Boolean).
Namespace: Ab3d.DirectX.ControlsAssembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.1.9105.2048
Syntax public BitmapSource RenderToBitmap(
int width,
int height,
int preferedMultisampling,
double dpiX,
double dpiY
)
Parameters
- width Int32
- width of the rendered bitmap
- height Int32
- height of the rendered bitmap
- preferedMultisampling Int32
- multi-sampling count that is used to render the image (used if possible). When -1 is specified (by default), then the current multi-sampling count from DXScene is used.
- dpiX Double
- The horizontal DPI of the bitmap.
- dpiY Double
- The vertical DPI of the bitmap.
Return Value
BitmapSourceBitmapSource as rendered the 3D scene
See Also