Table of Contents

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

title string

The title of the dialog: "Export Data" or "Save As PDF".

fileTypes IReadOnlyList<string>

The types the dialog lists, each as "Bitmap (*.bmp)".

fileType string

The type chosen first, one of fileTypes.

fileName string

The 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.