haplokuon / netDxf

.net dxf Reader-Writer
MIT License
981 stars 400 forks source link

Change created dxf file folder #392

Open LauraBolanos05 opened 2 years ago

LauraBolanos05 commented 2 years ago

Hello... I'm using your library and I'm new with C#. I am doing a dll using yours as reference, I would like to know if there is a way to change where the dxf files are going to be created.... Could I specify the creation folder??? Thank you

haplokuon commented 2 years ago

You just need to include the folder, together with the file name, where you want to save the file. You can use absolute and relative paths. The base folder when just the file name is passed or when relative paths are used is defined by System.Environment.CurrentDirectory