SolidWorks API: How to export 2D Sketch to DXF keeping origin

Hello everyone,

I’m exporting a 2D Sketch to DXF from a C# SolidWorks Add-In using the API.
Using copy/paste actions, the geometry is exported correctly, but the original sketch position/origin is not preserved — the DXF (0,0) does not match the sketch origin in SolidWorks. Selecting a sketch and copying it into a new drawing document is not a solution, since the pasted geometry is placed arbitrarily because pasting does not preserve the original position

Is there a way via the SolidWorks API to export a sketch to DXF while keeping its original coordinate system, without automatic repositioning or centering?

Any help or guidance would be greatly appreciated. Thank you for your time!