public virtual NPromise<NUndefined> SaveToFileAsync( NFile file, NRectangle bounds, System.double dpi, NImageEncoderSettings encoderSettings )
Parameters
- file
- The file to save to.
- bounds
- Bounding box of the area to be exported.
- dpi
- Resolution of the image.
- encoderSettings
- Optional image encoder settings.