# Editor.MapEditor.MapView.RenderToBitmap

```csharp
void RenderToBitmap(Bitmap bitmap, Vector3 position, Angles angles, float fieldOfView)
```

Render the map from any camera into the bitmap, with this view's draw settings - the same
rendering Hammer's screenshot dialog uses. Doesn't move this view's camera.

### Parameters

- `bitmap` (`Bitmap`)
- `position` (`Vector3`)
- `angles` (`Angles`)
- `fieldOfView` (`float`)

Declared in [Editor.MapEditor.MapView](/api/Editor.MapEditor.MapView).
Assembly: `Sandbox.Tools`.
