To export a .dwg drawing to a vector image file:
- Load the OdGsModule module.
- Create the graphics device.
- Set the required rendering properties.
- Set up the layout to render.
- Define the device output rectangle.
- Initiate the rendering process using the OdGsDevice::update() method.
For more details, see OdSvgExportEx sample application (\Core\Exports\RasterExport\).