Converts the current CAD drawing to PNG format and initiates download.
This method:
Optionalbounds: AcGeBox2dOptional world coordinate bounding box to export. If provided, the camera will zoom to fit this region. If not provided, exports the current view.
OptionallongSide: numberOptional maximum dimension (width or height) in pixels.
Utility class for converting CAD drawings to PNG format.
This class provides functionality to export the current CAD drawing to PNG format and download it as a file. It renders the current view using WebGLRenderTarget for optimal performance without requiring preserveDrawingBuffer to be enabled on the renderer.