Constructor CadExportJob
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
CadExportJob(string, IReadOnlyList<string>, string, string)
Makes the file a command asks the window for.
public CadExportJob(string title, IReadOnlyList<string> fileTypes, string fileType, string fileName)
Parameters
titlestringThe title of the dialog: "Export Data" or "Save As PDF".
fileTypesIReadOnlyList<string>The types the dialog lists, each as "Bitmap (*.bmp)".
fileTypestringThe type chosen first, one of
fileTypes.fileNamestringThe file offered, with its folder.
Exceptions
- ArgumentNullException
Thrown when the title or the types are null.
- ArgumentException
Thrown when the type is not one of the types.