Skip to content

Instantly share code, notes, and snippets.

@terjehelgesen
Last active August 14, 2025 09:19
Show Gist options
  • Select an option

  • Save terjehelgesen/9fd3f52e9dc7fdc25d58f1d058f7aac6 to your computer and use it in GitHub Desktop.

Select an option

Save terjehelgesen/9fd3f52e9dc7fdc25d58f1d058f7aac6 to your computer and use it in GitHub Desktop.
convert-pdf-to-dxf.cs
PDF to CAD
Convert a PDF file to DXF using C# sample code:
class Program
{
static void Main(string[] args)
{
scConverterLib.Converter myconverter = new scConverterLib.Converter();
if (myconverter != null)
{
myconverter.SetSerialNumber("Your Serial Number");
myconverter.PDFToCAD(@"input.pdf", @"output.dxf", "DXF", 0);
}
}
}
@terjehelgesen
Copy link
Author

terjehelgesen commented Aug 13, 2025

Read more about scConverter online:
https://www.softwarecompanions.com/scconverterdll.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment