Call this function to add a project to the Job.
Syntax: |
|---|
| DlxJob.NewProject(name) |
Parameters
| Parameter | Description |
|---|---|
| name | The project name. |
Return Value
Returns the object corresponding to the project. Call the IsValid() method to determine if the project was created correctly.
Example
Copy code
|
|
|---|---|
if (!DlxApp.GetJob().NewProject("Prj1").IsValid())
{
throw new Error("An error occurred while creating the project.");
}
|
|
